Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

6.0;flen (file_length), revision 6.0, 83/04/21
FLEN (FILE_LENGTH) -- Count lines, words, and characters in a file.
usage:  FLEN [-L | -W | -C]... [pathname ...]  {CL}


FORMAT

  FLEN [options] [pathname ...]


  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 file  names  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.

  This  command  uses  the command line parser, and so also accepts the standard
  command options listed in HELP CL.


EXAMPLES

    $ flen -L -C mary    Print the number of lines and characters in the
                          file 'mary'.

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