Newby Question FC4
Nix, Robert P.
Nix.Robert at mayo.edu
Wed Jan 18 20:26:52 UTC 2006
Actually, his code does create an executable, which does not contain a list of files. Look closely at the command line, and you'll see that it takes the string "grep $1 ..." and writes that string to /usr/local/bin/ww.
--
Robert P. Nix Mayo Foundation
RO-OC-1-13 200 First Street SW
507-284-0844 Rochester, MN 55905
-----
"In theory, theory and practice are the same, but
in practice, theory and practice are different."
-----Original Message-----
From: fedora-list-bounces at redhat.com [mailto:fedora-list-bounces at redhat.com] On Behalf Of Tony Heaton
Sent: Wednesday, January 18, 2006 2:17 PM
To: For users of Fedora Core releases
Subject: Re: Newby Question FC4
> and create a shell script that does the grep
>
> echo "grep $1 /usr/local/where/was.txt" > /usr/local/bin/ww
This takes the list of files and directories from above and searches for
the first command line argument ($1) in that list and stores what it
finds in /usr/local/bin/ww
More information about the fedora-list
mailing list