Be cautious when citing examples on a list :-)

louis@athlon ~ $ whois example.com

Whois Server Version 2.0

Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.

   Server Name: EXAMPLE.COM.RAFAELYALUFF.COM
   IP Address: 173.203.204.123
   Registrar: DOMAIN.COM, LLC
   Whois Server: whois.domain.com
   Referral URL: http://www.domain.com

   Server Name: EXAMPLE.COM.AU
   Registrar: ENETICA PTY LTD
   Whois Server: whois.enetica.com.au
   Referral URL: http://www.enetica.com.au

   Domain Name: EXAMPLE.COM
   Registrar: RESERVED-INTERNET ASSIGNED NUMBERS AUTHORITY
   Whois Server: whois.iana.org
   Referral URL: http://res-dom.iana.org
   Name Server: A.IANA-SERVERS.NET
   Name Server: B.IANA-SERVERS.NET
   Status: clientDeleteProhibited
   Status: clientTransferProhibited
   Status: clientUpdateProhibited
   Updated Date: 14-aug-2011
   Creation Date: 14-aug-1995
   Expiration Date: 13-aug-2012

>>> Last update of whois database: Tue, 24 Apr 2012 14:03:33 UTC <<<




On Tue, 2012-04-24 at 14:25 +0200, frantisek holop wrote:
> hi there,
> 
> how can i make ksh leave the '#' alone in the url i am passing
> as a parameter?
> 
> $ curl -v "http://example.com/test#1";
> > GET /test HTTP/1.1
>       ^^^^^
> 
> $ curl -v 'http://example.com/test#1'
> > GET /test HTTP/1.1
>       ^^^^^
> 
> $ curl -v "http://example.com/test\#1";
> > GET /test\ HTTP/1.1
>       ^^^^^
> 
> $ curl -v 'http://example.com/test\#1'
> > GET /test\ HTTP/1.1
>       ^^^^^
> 
> -f

Reply via email to