Look! An xargs!! (Re: recursive grep)
David Elliott
dce at Solbourne.COM
Mon Sep 4 09:57:58 AEST 1989
In article <4026 at buengc.BU.EDU> bph at buengc.bu.edu (Blair P. Houghton) writes:
>Okay, kids. Shell script 101 is now in session.
>
>Try this, after putting it in a file and turning on the execute flag.
>
> while read arrrrg
> do
> $* $arrrrg
> done
What if one of the members of $* or $arrrrg contains spaces?
If you're going to be pedantic, at least be correct ;-)
eval ${1+"$@"} "$arrrrg"
--
David Elliott dce at Solbourne.COM
...!{uunet,boulder,nbires,sun}!stan!dce
"We don't do this because we love you or like you...we don't even know you!"
More information about the Comp.unix.wizards
mailing list