Putting the entire URL inside double quotes should take care of your problem.
More Related Contents:
- How to urlencode data for curl command?
- How to properly handle a gzipped page when using curl?
- Percent sign % not working in crontab
- Script to get the HTTP status code of a list of urls?
- curl: argument list too long
- Save file to specific folder with curl command
- Assign output to variable in Bash [duplicate]
- Can I export a variable to the environment from a Bash script without sourcing it?
- Passing arguments to an interactive program non-interactively
- How to define hash tables in Bash?
- Assigning default values to shell variables with a single command in bash
- How to zero pad a sequence of integers in bash so that all have the same width?
- Why isn’t tilde (~) expanding inside double quotes? [duplicate]
- sed search and replace strings containing / [duplicate]
- What is the difference between “$@” and “$*” in Bash? [duplicate]
- Count occurrences of a char in a string using Bash
- How to redirect output of an entire shell script within the script itself?
- Getting “command not found” error in bash script
- What is the exact meaning of IFS=$’\n’?
- How to split a string in shell and get the last field
- How do I make this file.sh executable via double click?
- What is
- How to write a bash script to set global environment variable?
- Hiding secret from command line parameter on Unix
- Bash Script Binary Search
- Escaping forward slashes in sed command [duplicate]
- Convert a string into an array with bash, honoring quotes for grouping [duplicate]
- Remove all files except some from a directory
- Subtract two variables in Bash
- Multidimensional associative arrays in Bash