Re: shell script cgi

From: mlh (mlhat_private)
Date: Mon Nov 18 2002 - 02:02:07 PST

  • Next message: Ketil Braun Larsen: "Remote service shutdown in mailenable (newest)"

    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
    



    This archive was generated by hypermail 2b30 : Mon Nov 18 2002 - 09:00:56 PST