4.3BSD/usr/contrib/icon/man/man1/i-psort.1

.so tmac.ilib
.TH I-PSORT 1 "The University of Arizona \- 6/28/83"
.SH NAME
i-psort \- sort procedures in Icon program
.SH SYNOPSIS
\f3i-psort\fR
.SH DESCRIPTION
\fII-psort\fR reads an Icon program from standard input and writes
an equivalent program to standard output with the procedures
sorted alphabetically. Global, external, and record declarations
come first in the order they appear in the original program.
The main procedure comes next followed by the remaining procedures
in alphabetical order.
.PP
Comments and white space between declarations are attached to the next
following declaration.
.SH LIMITATIONS
\fII-psort\fR only recognizes declarations that start at the beginning
of lines.
.PP
Comments and interline white space between declarations may not come
out as intended.
.SH AUTHOR
Ralph E. Griswold