PSORT(1)                                                              PSORT(1)



NNAAMMEE
       psort - sort primitives in metafile as requested

SSYYNNOOPPSSIISS
       ppssoorrtt [ ++//--xx ][ ++//--yy ][ ++//--XX ][ ++//--YY ] file ..

DDEESSCCRRIIPPTTIIOONN
       _P_s_o_r_t reads each metafile _f_i_l_e in sequence and sorts primitives between
       globals according to the option specification.  Lower case options mean
       the  corresponding  minimum, upper case indicates the maximum value.  A
       '+' before the option means sort in order  of  increasing  values,  '-'
       means  decreasing.  The order the options appear on the command line is
       the order in which the extrema are examined.  For example, the  options
       _-_Y  _+_x  would  mean "sort on decreasing ymax, then increasing xmin val-
       ues".

       If no input files are specified, the standard input is read.

EEXXAAMMPPLLEE
       To sort the file "meta" in order of increasing  xmax,  then  decreasing
       ymin:

         psort +X -y meta

FFIILLEESS
       /tmp/psXXXXa /tmp/psXXXXb

BBUUGGSS
       Aborting the program will sometimes leave files in /tmp.

AAUUTTHHOORR
       Greg Ward

SSEEEE AALLSSOO
       metafile(5), pexpand(1)



RADIANCE                            6/24/98                           PSORT(1)
