|
Article on other languages:
|
sort jest to standardowe narzędzie konsolowe Uniksa, która wyświetla dane, które dostało na wejściu lub odczytało z pliku podanego jako argument po posortowaniu. Parametr -r wymusza sortowanie w kolejności odwrotnej (ang. reversed). PrzykładySortowanie z pliku$ cat książka_telefoniczna Smith, Brett 555-4321 Doe, John 555-1234 Doe, Jane 555-3214 Avery, Cory 555-4321 Fogarty, Suzie 555-2314 $ sort książka_telefoniczna Avery, Cory 555-4321 Doe, Jane 555-3214 Doe, John 555-1234 Fogarty, Suzie 555-2314 Smith, Brett 555-4321 Sortowanie z pliku w kolejności odwrotnej$ cat książka_telefoniczna Smith, Brett 555-4321 Doe, John 555-1234 Doe, Jane 555-3214 Avery, Cory 555-4321 Fogarty, Suzie 555-2314 $ sort -r książka_telefoniczna Smith, Brett 555-4321 Fogarty, Suzie 555-2314 Doe, John 555-1234 Doe, Jane 555-3214 Avery, Cory 555-4321
|
||||||||||||||||||||||||||||||||||||||
This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.
Mercedes Car
This site monitored by SitePinger.net