On 4/18/07, Ralph Shumaker <[EMAIL PROTECTED]> wrote:
> grep -C 4 /tmp/file `grep aba /tmp/file | grep bcb | grep cdc | grep ded`

This yielded something really strange (in bash).  It found the right
line, I'd say.  But it took each word of that line and gave me this:
grep: word1: no such file or directory
grep: word2: no such file or directory

Oh.  I was on a Windows computer when I wrote that.  Try quoting the
back-ticked.

grep -C 4 /tmp/file "`grep aba /tmp/file | grep bcb | grep cdc | grep ded`"

-todd


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to