  
 | 
  
  85025 packages online
 | 
 
 
 | 
  | 
 
 | 
 | 
 | 
 
| 
  No screenshot available
 | 
  |  
Sumstdin reads line by line from stdin. It tries to interpret each
line as a number and sums all of these numbers. As soon as the end
of the file is reached, it prints the total sum to stdout.
Note: numbers read from stdin can be decimal, octal or hexadecimal
      and must have the following syntax:
      abc   - decimal number
      0xabc - hexadecimal number
      0abc  - octal number
      Examles: 805509488, 0712316, 0xA9C0B
               (decimal)  (octal), (hexadecimal)
      Output always is a decimal number.
Example:
1> list all files lformat "%l" | sumstdin
This scans the whole directory and prints the sum of all filesizes.
This program has been written to calculate the sizes for the
FindPearls-database on the Meeting Pearls CD-ROMs and has been put
into the public domain.
 |  
  Contents of util/cli/sumstdin.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 4498    6664  67.5% -lh5- ff15 Jun 24  1995 sumstdin
[generic]                  488     892  54.7% -lh5- 31fa Jun 24  1995 sumstdin.doc
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    4986    7556  66.0%            Jun 24  1995
  |   
 |  
  | 
  | 
| Page generated in 0.02 seconds | 
Aminet © 1992-2024 Urban 
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |