home *** CD-ROM | disk | FTP | other *** search
- .im man.im
- .NM sortf sort text lines
- .SY sortf
- .FU
- .ital sortf
- sorts its input into ascending lexicographic order.
- Two lines are in order if they are identical or if the leftmost character
- position in which they differ contains characters which are in order,
- using the internal numeric representation of the characters.
- If a line is a proper prefix of another line, it precedes that line in
- sort order.
- .sp
- .ital sortf
- writes intermediate data to files
- named
- .ital stemp#,
- where # is a small decimal digit string;
- these filenames should be avoided.
- .EG
- To print the sorted output of a program:
- .Q1
- program }temp1
- sortf {temp1 }temp2
- printf {temp2
- .Q2