Your problems is with bash syntax, I believe.
I have not read this thread, so I could be away off...

you need to surround that string with "", or else bash see the () as 
special characters.. you see?  If "" does not work the \ character 
often works, it means translate the next character literally, for 
example, if I want to rm a file named "foo bar" I would not : rm foo 
bar.  Because it would say foo: file not found, bar:file not found.
However, rm foo\ bar  would work, it means interpret the space as 
literally part of the filename, not a special spacing character in bash.

Hope that works :)
ben


> Thanks for reply and sorry for my long response.
> I was trying to use:
> --user-agent=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
> 
> But there was a syntax error:
> bash: syntax error near unexpected token  (c'
> 
> So what is the correct syntax?
> 
> Thanks Jakub
> 
> Jakub Grosman
> ===========================================
> PRIME TIME CS
> Janackovo nabrezi 51, 150 00 Praha 5
> Tel:    +420-2-5151-2013
> GSM:  +420-603-179297
> http://www.primetime.cz & http://www.e-telereport.cz
> ===========================================
> ---------- Original Text ----------
> 
> From: <[EMAIL PROTECTED]>, on 26.6.2002 12:28:
> 
> 
> On 20/06/2002 10:03:13 jgrosman wrote:
> 
> >Hi all.
> >
> [snip question about emulating IE in the User-agent string]
> 
> Virtually all browsers start their User-Agent with "Mozilla"
> For IE 6, try something like
> 
> "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"
> 
> --
> Csaba R�duly, Software Engineer                           Sophos Anti-
Virus
> email: [EMAIL PROTECTED]                        
http://www.sophos.com
> US Support: +1 888 SOPHOS 9                     UK Support: +44 1235 
559933
> 
> 
> 


Reply via email to