Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: shell script cgi

From: mlh <mlh(at)zip.com.au>
Date: Mon Nov 18 2002 - 05:02:07 EST

c jones writes in part
>
> ua=`echo "$HTTP_USER_AGENT" | sed "s#\;##g"`

One thing that is odd about this scrap of code is why one would bother removing the ';' yet leave all sorts of other character sequences that are equally meaningful to the shell, for instance &, &&, |, || etc. Also ^ for older shells.

Matt Received on Mon Nov 18 12:01:42 2002

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:07:37 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library