SYSTEM command
Kenneth Brody
kenbrody at bestweb.net
Fri Nov 19 14:47:46 PST 2004
Jeff Harrison wrote:
[...]
> Or you can use the user command or import ascii.
> Using the user command for example, you could do as
> follows:
>
> ::user tmp = /usr/local/bin/countm:
> ::tmp="/tmp/file":
> ::tp(8,.0)=tmp:
> ::show "@The count of lines is "<tp:
>
> Your countm script could look as follows:
>
> read afile
> wc -l $afile
Better would be:
while read afile
do
wc -l $afile
done
--
+-------------------------+--------------------+-----------------------------+
| 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