home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d7xx
/
d747
/
aush.lha
/
AUSH
/
ExtraCmds.lha
/
englishdocs
/
compute.doc
< prev
next >
Wrap
Text File
|
1992-09-04
|
796b
|
35 lines
NAME
compute - various operations on a file
SYNOPSIS
compute operation -ffield [-ddelim] [ file... ]
DESCRIPTION
compute read each line of the named file(s) (or of standard input
if no named file), extract the field-th field of this line (field
separator is delim, default is tab) and perform operation on this
field. When end of file is reached, the result is printed on
standard output.
If you specify "-" as a file name, standard input will be used.
Operations are :
-s summ
-p product
-a average
-g find greatest value
-l find lowest value
RETURN CODES
0 if all went well
1 in case of bad argument (fatal)
2 if at least one file couldn't be opened (non fatal)
CHANGES FROM UNIX
This is not an Unix command !
AUTHOR
Denis GOUNELLE
Last modified 04-Sep-92