Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://comet.sai.msu.ru/UNIXhelp/utilities2/sort7.2.html
Дата изменения: Fri Jan 17 12:43:26 1997 Дата индексирования: Tue Oct 2 02:15:46 2012 Кодировка: Поисковые слова: spiral galaxy |
Always use these options immediately after the sortcommand. For example:
sort -n +1 -2 costs
sorts the data in field 2 of the file costs by its arithmetic value.
-d (Dictionary order) sort only uses numbers, letters and blank spaces when sorting the file. -f (Fold in lower case) sort treats all lower-case letters as if they were upper-case letters. -i (Ignore non-printing characters) sort ignores any characters that do not print. -n (Numeric order) sort recognises the value of numbers and sorts them in terms of their value. -r (Reverse order) sort reverses its default sort order.