Delila Program: flag

flag program

Documentation for the flag program is below, with links to related programs in the "see also" section.

{const version = 1.15; (* of flag.p 1996 Feb 23}

(* begin module describe.flag *)
(*
name
      flag: points out excessively long lines

synopsis
      flag (fin: in, fout: out, output: out)

files
      fin: a text file; typically pascal source code.
      fout: the first line of fin followed by a list of the lines which are
            too long.  the list gives the line number of each line, the line
            itself and a flag on the last acceptable character.
      output: the number of lines in fin which contain more than 78 characters.
description
      during transportation of files from one computer to another, lines
      longer than 78 characters are often truncated to 78 characters to make
      'card images' on the tape.  this byzantine practice is left over
      from the days when cards were the state-of-the-art in talking to
      computers.  since the tape does not know what a 'card image' is,
      and since cards are going the way of the passenger pigeon,
      this is like equipping a nuclear oil tanker with oars.  maybe
      someday things will be different, but until then, flag exists
      and will detect long lines, allowing one to fix a program or file
      before transportation.  note: trailing blanks on each line are
      ignored.

author
      john hoffhines and tom schneider

bugs
      none known

technical notes
      the constant 'maxline' defines the number of characters accepted
      on each line.  we recommend that maxline be set to 78 because this
      is the standard number of characters on a punched card.

*)
(* end module describe.flag *)
{This manual page was created by makman 1.45}


{created by htmlink 1.62}