On Sat, Jul 14, 2007, ying lcs wrote: > Hi, > > i am trying to test squidclient with this url (has '&'): > > http://www.google.com/search?hl=en&q=test&btnG=Google+Search > > I would like to know if I need to put " for my url? > > I get different results between this: > ./squidclient -r > "http://www.google.com/search?hl=en&q=test&btnG=Google+Search" > and this: > ./squidclient -r > http://www.google.com/search?hl=en&q=test&btnG=Google+Search Wrap the URL in '' so your shell doesn't perform variable expansion/ substitution. squidclient -r 'http://foo.com?bar'