oreilly / couchdb-guide

CouchDB: The Definitive Guide
http://guide.couchdb.org/
501 stars 139 forks source link

tcsh/csh vs. bash #417

Open markscl opened 13 years ago

markscl commented 13 years ago

I was working through the examples in the book and started getting 'curl: no match' errors when the URL's contained a question mark. It turns out that I'm using tcsh for a shell and you have to either quote the URL or escape the question mark ('@' as well I think) in tcsh and csh. Now, I'm considering switching over to bash, but this cost me a number of hours to figure out. It might be worth noting this issue in the book.

M0Rph3U56031769 commented 9 years ago

you have to use ' ' e.g.: curl --silent 'http://valami.com/bin-cgi/file.cgi?parameter=xyz' now you forced to plain text