By downloading this code you agree to the
Source Code Use License (PDF). |
{const version = 1.15; (* of flag78.p 1995 August 29}
(* begin module describe.flag78 *)
(*
name
flag78: points out excessively long lines
synopsis
flag78 (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 80 characters.
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.
author
john hoffhines and tom schneider
bugs
none known
technical notes
the constant 'maxline' defines the number of characters accepted
on each line.
*)
(* end module describe.flag78 *)
{This manual page was created by makman 1.45}
{created by htmlink 1.62}