Dieses Programm wird von Expire benutzt, um eine wiederhergestellte history Datei zu sortieren.
Das Originalprogramm wurde von Mike Haertel im Dezember 1988 geschrieben. Es ist sehr konfigurierbar und benutzt viele Kommandozeilenoptionen.
Rufen Sie das Programm mit Option -? auf, um folgende Hilfeseite zu erhalten:
Usage: sort [OPTION]... [FILE]... Write sorted concatenation of all FILE(s) to standard output. +POS1 [-POS2] start a key at POS1, end it before POS2 -M compare (unknown) <`JAN' < ... < `DEC', imply -b -T DIRECTORY use DIRECTORY for temporary files -b ignore leading blanks in sort fields or keys -c check if given files already sorted, do not sort -d consider only [a-zA-Z0-9 ] characters in keys -f fold lower case to upper case characters in keys -i consider only [\040-\0176] characters in keys -k POS1[,POS2] same as +POS1 [-POS2], but all positions counted from 1 -m merge already sorted files, do not sort -n compare according to string numerical value, imply -b -o FILE write result on FILE instead of standard output -r reverse the result of comparisons -s stabilize sort by disabling last resort comparison -t SEP use SEParator instead of non- to whitespace transition -u with -c, check for strict ordering -u with -m, only output the first of an equal sequence POS ist F[.C][OPTS], wobei F die Feldzahl und C die Buchstabenposition im Feld ist, beide von Null abgezählt. OPTS besteht aus ein oder mehreren Mbdfinr. Dies verhindert effektiv die globalen -Mbdfinr Einstellungen für diesen Schlüssel. Wenn kein Schlüssel gegeben ist, benutzen Sie die gesamte Zeile als Schlüssel. Ohne FILE, oder wenn FILE read standard input ist.
URL: changi/manual/exsort.html Created: 25 August 1996 Revised: 21 November 1996 Author: harald@os2point.ping.de |