Sort

Sort

sort

sortUNIX‐утилита, выводящая сортированное слияние указанных файлов на стандартный вывод с использованием установленной в среде локали.

Использование

  • sort [-m][-o output][-bdfinru][-t char][-k keydef]… [file…]
  • sort -c [-bdfinru][-t char][-k keydef][file]

Параметры запуска

-b, --ignore-leading-blanks
игнорировать начальные пропуски
-d, --dictionary-order
рассматривать только пропуски, буквы и цифры
-f, --ignore-case
игнорировать регистр букв
-i, --ignore-nonprinting
рассматривать только печатные знаки
-n, --numeric-sort
сравнивать численные значения строк
-h, --human-numeric-sort
сравнивать численные значения с учетом сокращения степени (2K, 1G)
-r, --reverse
обратить результаты сравнения
-u, --unique
с -c, проверять порядок строго; без -c, выводить только первое среди нескольких равных
-c, --check
проверять, сортированы ли входные файлы; не сортировать
-k, --key=Поз1[,Поз2]
начинать ключ в Поз1 и завершать на Поз2 (отсчет от 1)
-o, --output=ФАЙЛ
выводить в ФАЙЛ, а не на стандартный вывод
-t, --field-separator=РАЗДЕЛИТЕЛЬ
использовать при поиске ключевых полей РАЗДЕЛИТЕЛЬ, а не переход от непробельных знаков к пробельным

Ссылки

  • sort(1) — страница справки man по пользовательским командам GNU/Linux (англ.) (см. GNU Coreutils)
  • sort(1) — страница справки man по пользовательским командам OpenBSD (англ.) (англ.)
  • sort(1) — страница справки man по пользовательским командам FreeBSD (англ.) (англ.)

Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Полезное


Смотреть что такое "Sort" в других словарях:

  • sort — sort …   Dictionnaire des rimes

  • sort — [ sɔr ] n. m. • 1080; lat. sors, sortis 1 ♦ Effet magique, généralement néfaste, qui résulte de certaines opérations de sorcellerie. ⇒ 2. charme, ensorcellement, jettatura, maléfice, sortilège (cf. Mauvais œil). Jeter un sort à qqn. ⇒ ensorceler …   Encyclopédie Universelle

  • Sort — Sort, n. [F. sorie (cf. It. sorta, sorte), from L. sors, sorti, a lot, part, probably akin to serere to connect. See {Series}, and cf. {Assort}, {Consort}, {Resort}, {Sorcery}, {Sort} lot.] 1. A kind or species; any number or collection of… …   The Collaborative International Dictionary of English

  • Sort (C++) — sort is a function in C++ Standard Template Library that takes two random access iterators, the start and the end, as arguments and performs a comparison sort on the range of elements between the two iterators, front inclusive and end exclusive.… …   Wikipedia

  • sort — Sort, Cleros, siue Clerus. Sort ou fortune, Sors sortis. Le sort et principal d une somme d argent, Sors. Faire sort, ou jetter le sort, Sortiri, Sortem ducere. Jetter le sort entre aucuns, lequel d entre eux aura quelque chose, Sortiri aliquibus …   Thresor de la langue françoyse

  • sort — [sɔːt ǁ sɔːrt] noun [countable] COMPUTING if a computer does a sort, it puts things in a particular order: • If you do a sort on the computer, it will list entries in alphabetical order. sort verb [intransitive, transitive] : • You can sort these …   Financial and business terms

  • sort — UNIX‐утилита, выводящая сортированное слияние указанных файлов на стандартный вывод с использованием установленной в среде локали. Использование sort [ m][ o output][ bdfinru][ t char][ k keydef]… [file…] sort c [ bdfinru][ t char][ k… …   Википедия

  • Sort — may mean * Sorting, any process of arranging items in sequence or in sets ** In conveyor lines sortage is the term for a checkweigher sorting products. ** Sorting algorithm, a computer process for arranging elements in lists ** Sort (Unix), a… …   Wikipedia

  • sort — ► NOUN 1) a category of people or things with a common feature or features. 2) informal a person with a specified nature: a friendly sort. 3) Computing the arrangement of data in a prescribed sequence. ► VERB 1) arrange systematically in groups.… …   English terms dictionary

  • SORT — steht für Sort (Lleida), eine Kleinstadt in Katalonien Sort (Unix), ein Unix Programm zum Sortieren Sort (Windows), ein Windows Programm zum Sortieren SORT steht als Abkürzung für: Special Operations Response Team, eine Spezialeinheit des US… …   Deutsch Wikipedia


Поделиться ссылкой на выделенное

Прямая ссылка:
Нажмите правой клавишей мыши и выберите «Копировать ссылку»