RE: Newby Question FC4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
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@xxxxxxxxxx [mailto:fedora-list-bounces@xxxxxxxxxx] 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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux