1 |
.\" RCSid "$Id: psort.1,v 1.3 2005/02/16 05:40:06 greg Exp $" |
2 |
.TH PSORT 1 6/24/98 RADIANCE |
3 |
.SH NAME |
4 |
psort - sort primitives in metafile as requested |
5 |
.SH SYNOPSIS |
6 |
.B psort |
7 |
[ |
8 |
.B +/\-x |
9 |
][ |
10 |
.B +/\-y |
11 |
][ |
12 |
.B +/\-X |
13 |
][ |
14 |
.B +/\-Y |
15 |
] |
16 |
file .. |
17 |
.SH DESCRIPTION |
18 |
.I Psort |
19 |
reads each metafile |
20 |
.I file |
21 |
in sequence and sorts primitives between globals according to |
22 |
the option specification. |
23 |
Lower case options mean the corresponding minimum, upper case |
24 |
indicates the maximum value. |
25 |
A '+' before the option means sort in order of increasing |
26 |
values, '-' means decreasing. |
27 |
The order the options appear on the command line is the order |
28 |
in which the extrema are examined. |
29 |
For example, the options |
30 |
.I \-Y +x |
31 |
would mean "sort on decreasing ymax, then increasing xmin values". |
32 |
.PP |
33 |
If no input files are specified, the standard input is read. |
34 |
.SH EXAMPLE |
35 |
To sort the file "meta" in order of increasing xmax, then |
36 |
decreasing ymin: |
37 |
.IP "" .2i |
38 |
psort +X \-y meta |
39 |
.SH FILES |
40 |
/tmp/psXXXXa /tmp/psXXXXb |
41 |
.SH BUGS |
42 |
Aborting the program will sometimes leave files in /tmp. |
43 |
.SH AUTHOR |
44 |
Greg Ward |
45 |
.SH "SEE ALSO" |
46 |
metafile(5), pexpand(1) |