This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ "$#" == "0" ]; then | |
echo "usage: $0 [CURL FLAGS|--json FILE|--https|--dry-run]* URL" >&2 | |
echo "You can set the BASE_URL environment variable; if you do, all relative URLs will be have the BASE_URL appended in front of them. (Note that this appends blindly the two strings together, doing no resolution work.)" >&2 | |
exit 1 | |
fi | |
args=("$@") | |
verbatim_args=() |
NewerOlder