|
|||||||||||
|
Re: shell script cgi (summary?)
From: Philip Rowlands <phr(at)doc.ic.ac.uk>
Date: Tue Nov 19 2002 - 14:42:43 EST
>> ua=`echo "$HTTP_USER_AGENT" | sed "s#\;##g"`
Well yes, if you run it directly. The initial question was about variable assignment. Your example in context:
$ cat cgiscript
++ echo whoami ++ sed 's#\;##g' + ua=whoami All those quotes around ""whoami"""" cancel out, BTW. The shell sees: <export><SP><LAME><=><""><whoami><""><""> Cheers, Phil Received on Wed Nov 20 06:18:43 2002 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:07:37 EDT |
||||||||||
|
|||||||||||