By downloading this code you agree to the
Source Code Use License (PDF). |
{const version = 1.14; (* of fl.p 1995 Sep 21}
(* begin module describe.flag *)
(*
name
fl: points out excessively long lines
synopsis
flag (input: in, output: out)
files
input: a text file; typically pascal source code.
output: the first line of input 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.
description
during transportation of files from one computer to another, lines
longer than 80 characters are often truncated to 80 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.
This program is like the flag program except that it works from
the standard input and output files.
author
john hoffhines and tom schneider
see also
flag.p
bugs
none known
technical notes
the constant 'maxline' defines the number of characters accepted
on each line. we recommend that maxline be set to 80 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}