Subject: Re: sh backtick deficiency?
To: John F. Woods <firstname.lastname@example.org>
From: Andrew Brown <email@example.com>
Date: 04/02/1998 11:59:42
>The shell has *always* expanded backtick text into separate arguments, and
>it better keep doing so. I just verified that it did so on 7th Edition UNIX
>thanks to the PDP11 simulator mentioned on this list a while back; I'd have
>verified it for V6, but V6 didn't have sed, my favorite test case.
>Consider the common data-reduction case of having a bunch of files, some of
>which you want to hand to a program based on whether they contain a string:
>$ grep string2 `grep string1 f? | sed -e 's/:.*//'`
$ grep string2 `grep -h string1 f?`
rtfm, eh? now does it work on v6? hmm?? :)
|-----< "CODE WARRIOR" >-----|
firstname.lastname@example.org * "ah! i see you have the internet
email@example.com (Andrew Brown) that goes *ping*!"
firstname.lastname@example.org * "information is power -- share the wealth."