Sort

sort — UNIX‐утыліта, якая друкуе сартаванае зліццё ўказаных файлаў на стандартны вывад з выкарыстаннем усталяванаў у асяроддзі лакалі.
Ужыванне
- 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=ПАДЗЕЛЬНІК
- ужываць пры пошуку ключавых палёў ПАДЗЯЛЯЛЬНІК, а не пераход ад непрабельных знакаў да прабельных
Спасылкі
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.