PSORT(LOCAL) PSORT(LOCAL)
NAME
psort - pivoting sort
SYNOPSIS
psort [-x|+x] [files]
DESCRIPTION
psort is a quick way to sort lines which begin with a
2-digit year (such as yymmdd). It works by prepending
either 19 or 20 using a pivot point of 1970; then sorting;
then removing the prepended two digits. Initial arguments
beginning with "-" or "+" are passed to sort. More com-
plicated arguments can be passed in the environment vari-
able SORTARGS.
Y2K has come and gone but 2-digit years persist and this
is an easy way to deal with them (until 2070 :).
SEE ALSO
sort(1)
AUTHOR
Corey Satten - corey @ cac.washington.edu
BUGS
PSORT(LOCAL)