home *** CD-ROM | disk | FTP | other *** search
- | PostMerge file for !Groups
- | © David Croft, 1995-7
-
- | This file is executed by !Groups after merging new groups into the main
- | list. It should call any suitable sorting program. Parameters to this file:
-
- | %0 Output file name
- | %1 Input file name
-
- | Note that all output is redirected to a scrap file. If *any* output is
- | produced, Groups assumes an error occurred. This is fine for the supplied
- | sort program, but may cause problems with others.
-
- | 'sort', written by Andy Armstrong
- |
- | Syntax: Sort -i -cn -u -b -h source [dest]
- |
- | -i case doesn't matter
- | -cn start at column n
- | -u output unique lines only
- | -b omit blank lines
- | -r reverse sorting
- | -h help message
-
- Run <Groups$Dir>.Sort -i -u -b %1 %0
-
- | If you don't want to have the list resorted, comment the above line and
- | uncomment the next line.
-
- | Copy %1 %0 ~C~DF~V
-