Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

10.0;flen (file_length), revision 1.0, 88/01/21
flen (file_length) -- Count lines, words, and characters in a file.
usage: flen [-l | -w | -c]... [pathname ...]    {cl}



DESCRIPTION
     flen prints the number of lines, words, and characters in each of the
     named files.  A word is defined as any sequence of characters delimited
     by tabs, spaces, and newlines.  If more than one file is specified,
     totals for all the files are printed also.


ARGUMENTS
     pathname (required)
                    Specify input file.  Multiple filenames and wildcarding
                    are permitted.

                    Default if omitted:  read standard input; suppress total counts

OPTIONS
     If no options are specified, all counts are reported.

     -l             Print only line counts.

     -w             Print only word counts.

     -c             Print only character counts.

     Options may be mixed to achieve the desired reporting results.

EXAMPLES
     Print the number of lines and characters in the file mary.

     $ flen -l -c mary

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026