SYSTEM command
Kenneth Brody
kenbrody at bestweb.net
Fri Nov 19 16:02:07 PST 2004
Jeff Harrison wrote:
[...]
> > Better would be:
> >
> > while read afile
> > do
> > wc -l $afile
> > done
> >
>
> Yes, but you will then need to make sure you exit from
> the loop, otherwise you will have a zombie on your
> hands :-)
The loop will exit when the read fails, which will happen when filePro
closes the pipe to it.
--
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody | www.hvcomputer.com | |
| kenbrody/at\spamcop.net | www.fptech.com | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+
Don't e-mail me at: <mailto:ThisIsASpamTrap at gmail.com>
More information about the Filepro-list
mailing list