AminetAminet
Search:
84739 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/cli/WordCount.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:Count lines, words, and chars
Author:Torsten Poulin
Type:util/cli
Version:37.10
Architecture:m68k-amigaos
Date:2021-01-21
Download:util/cli/WordCount.lha - View contents
Readme:util/cli/WordCount.readme
Downloads:411

WordCount counts lines, words, and characters similar to the Unix wc command.

Format:
    WordCount [[FROM] pattern...] [LINES] [WORDS] [BYTES|CHARS]

Template:
    FROM/M,LINES/S,WORDS/S,BYTES=CHARS/S


The WordCount command counts lines, words, and characters in the named
files. If no files are specified, WordCount reads from the default input,
making it possible to use it with pipes.

When multiple files are specified on the command line, their names will
be printed along with the counts.

WordCount also keeps a total count for all named files.

The switches LINES, WORDS, and CHARS may be used to specify that a
subset of lines, words, and characters are to be reported.

WordCount has a broad definition of a word. It considers a word to be any
string of characters delimited by spaces, tabs, or new-lines.

Using no switches is the same as using all three.


Examples:

    1> wordcount #?.doc

    1> list SYS: nohead quick all files | wordcount lines

Binary, source code, and documentation included.
Under 2-clause BSD License.


Contents of util/cli/WordCount.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                  260     628  41.4% -lh5- 811a Jan 20 02:01 WordCount.info
[unknown]                  164     260  63.1% -lh5- 67a5 Jan 14 15:22 WordCount/source/smakefile
[unknown]                 2322    5569  41.7% -lh5- 2393 Jan 20 03:58 WordCount/source/WordCount.c
[unknown]                  743     952  78.0% -lh5- b7b6 Jan 20 03:58 WordCount/WordCount
[unknown]                  488     936  52.1% -lh5- 9f2b Jan 19 23:33 WordCount/WordCount.doc
[unknown]                  264     501  52.7% -lh5- ff05 Jan 20 02:02 WordCount/WordCount.doc.info
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         6 files    4241    8846  47.9%            Jan 21 03:59
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>