The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Поиск:  Каталог документации

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]



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру