Re: SSH/(g)awk
From: Dimitri Maziuk (dima_at_127.0.0.1)
Date: 07/22/04
- Previous message: Darren Tucker: "Re: PuTTY + Wireless = Bad Combo?"
- In reply to: Patrick TJ McPhee: "Re: SSH/(g)awk"
- Next in thread: William Park: "Re: SSH/(g)awk"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- Previous message: Darren Tucker: "Re: PuTTY + Wireless = Bad Combo?"
- In reply to: Patrick TJ McPhee: "Re: SSH/(g)awk"
- Next in thread: William Park: "Re: SSH/(g)awk"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]