Re: SSH/(g)awk

From: Dimitri Maziuk (dima_at_127.0.0.1)
Date: 07/22/04

  • Next message: Zoltan Toth: "OpenSSH_3.5p1 public key authentication fails"
    Date: Thu, 22 Jul 2004 16:04:22 +0000 (UTC)
    
    

    Patrick TJ McPhee sez:
    ...
    > in 1, the awk program is contained in single quotes, which have the
    > effect of protecting it from shell expansion. In 2, the entire
    > command is contained in double quotes, which has the effect of protecting
    > most things from shell expansion, but not everything.

    Unbelieveable. I've been doing this crap for years and I never
    noticed it does that. Or maybe I did and forgot all about it --
    there must be a reason why I never do "foo 'bar'"...

    Dima

    -- 
    I'm going to exit now since you don't want me to replace the printcap. If you
    change your mind later, run                        -- magicfilter config script
    

  • Next message: Zoltan Toth: "OpenSSH_3.5p1 public key authentication fails"