Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://comet.sai.msu.ru/UNIXhelp/utilities2/sort7.1.html
Дата изменения: Fri Jan 17 12:43:26 1997 Дата индексирования: Tue Oct 2 02:15:30 2012 Кодировка: Поисковые слова: md-11 |
To sort a file in dictionary order:
sort -d +1 -2names > orders
Lines in the file names are sorted on field 2 into dictionary order and the result placed in the file orders.
To sort a file in month order:
sort -M +2 -3 -o breakdown orders
Lines in the file orders are sorted on field 3 into month order and the result placed in the file breakdown.