On Tue, Apr 24, 2012 at 14:25, frantisek holop wrote: > hi there, > > how can i make ksh leave the '#' alone in the url i am passing > as a parameter?
Put it in quotes. $ echo "url#anchor" url#anchor > $ curl -v "http://example.com/test#1" >> GET /test HTTP/1.1 > ^^^^^ http://tools.ietf.org/html/rfc3986#section-3.5 Read the paragraph beginning "Fragment identifiers have a special role in information retrieval".