Документ взят из кэша поисковой машины. Адрес оригинального документа : http://comet.sai.msu.ru/UNIXhelp/utilities2/sort5.html
Дата изменения: Fri Jan 17 12:43:26 1997
Дата индексирования: Tue Oct 2 01:34:05 2012
Кодировка:
Checking if a file has been sorted

Checking if a file has been sorted

You can check if a file has already been sorted with the -c option. For example:

   sort -c +2 -3 accounts

This checks to see if the file accounts has already been sorted on the third field of each line. You will only get a message if the file is not sorted according to this sequence.


[Home] [Search] [Index]