SYSTEM command

Jeff Harrison jeffaharrison at yahoo.com
Fri Nov 19 15:13:54 PST 2004


--- Kenneth Brody <kenbrody at bestweb.net> wrote:

> 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
> 

Yes, but you will then need to make sure you exit from
the loop, otherwise you will have a zombie on your
hands :-)

Jeff Harrison
jeffaharrison at yahoo.com

------------------------------------------------------
Author of JHImport and JHExport.  The fastest and 
easiest way to create code for filePro Imports
and Exports.
------------------------------------------------------


		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 



More information about the Filepro-list mailing list