PINDENT(1) — USER COMMANDS
NAME
pindent − Pascal prettyprinter
SYNOPSIS
pindent [ −e ] [ −f ] [ −j ] [ −L ] [ −n ] [ −O ] [ −s ] [ −u ] [ −w ] [ −23456789 ] name .p
DESCRIPTION
pindent is a prettyprinter for Pascal source code. pindent generates a reformatted listing; thus
tutorial% pindent old.p > new.p
places a cleaned-up version of the program old.p in the file new.p. pindent does not support the Sun Pascal compiler directives (for example, %if and %enable).
OPTIONS
The use of the following options of pindent is discussed in the Sun Pascal User’s Guide.
−e Eliminate include directives when reformatting a file; the include is replaced by the reformatted contents of the specified file.
−f Fully parenthesize expressions.
−j Left-justify all procedures and functions.
−L Map all identifiers and keywords to lower case.
−n Eject a new page as each file is included.
−O Replace others: in case statements with an equivalent standard Pascal construction. (This is used primarily in compiling TEX.)
−s Strip comments from the input text.
−u Card image mode; only the first 72 characters of input lines are used.
−w Suppress warning diagnostics.
−_ Underline keywords.
−d Use d spaces (where d is a digit, 2 ≤ d ≤ 9) as the basic indenting unit. The default is 4.
FILES
name.p input file
name.i include file
name.h include file
/usr/man/man1/pindent.1
this manual page
/usr/ucb/pindent Pascal prettyprinter
SEE ALSO
Sun Pascal User’s Guide
Sun Pascal Reference Manual
Sun Microsystems — Last change: 1 June 1989