自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

sort 中文man頁面

系統(tǒng)
sort - 對文本文件的行排序。

SORT

Section: FSF (1)
Updated: 1999年12月


 

NAME(名稱)

sort - 對文本文件的行排序  

SYNOPSIS(總覽)

../src/sort [OPTION]... [FILE]...  

DESCRIPTION(描述)

將排序好的所有文件串寫到標準輸出上。

+POS1 [-POS2]
從關鍵字POS1開始,到POS2*之前*結(jié)束(快過時了) 字段數(shù)和字符偏移量都從零開始計數(shù)(與-k選項比較)
-b
忽略排序字段或關鍵字中開頭的空格
-c
檢查是否指定文件已經(jīng)排序好了,不排序.
-d
在關鍵字中只考慮[a-zA-Z0-9]字符.
-f
將關鍵字中的小寫字母折合成大寫字母.
-g
按照通常的數(shù)字值順序作比較,暗含-b
-i
在關鍵字中只考慮[\040-\0176]字符.
-k POS1[,POS2]
從關鍵字POS1開始,*到*POS2結(jié)束. 字段數(shù)和字符偏移量都從1開始計數(shù)(與基于零的+POS格式作比較)
-l
按照當前環(huán)境排序.
-m
合并已經(jīng)排序好的文件,不排序.
-M
按(未知的)<`JAN'<...<`DEC'的順序比較,暗含-b
-n
按照字符串的數(shù)值順序比較,暗含-b
-o FILE
將結(jié)果寫入FILE而不是標準輸出.
-r
顛倒比較的結(jié)果.
-s
通過屏蔽最后的再分類比較來穩(wěn)定排序.
-t SEP
使用SEP來替代空格的轉(zhuǎn)換non-.
-T DIRECTORY
使用DIRECTORY作為臨時文件,而不是$TMPDIR或者/tmp
-u
如果有-c,則按嚴格的順序進行檢查; 如果有-m,則只輸出相等順序的第一個.
-z
以0字節(jié)結(jié)束行,而不是使用換行符,這是為了找到-print0
--help
顯示幫助并退出.
--version
輸出版本信息并退出.

POS為F[.C][OPTS],這里的F指的是字段數(shù),而C為字段中的字符位置,這在-k中是從開 始計數(shù)的,而在過時的格式中是從零開始的.OPTS可由一個或多個Mbdfinr組成;這有效地屏蔽了 對于那個關鍵字的全局-Mbdfinr設置.如果沒有指定關鍵字,則使用整行作為關鍵字.如 果沒有FILE,或者FILE是-,則從標準輸入讀取.  

AUTHOR(作者)

Mike Haertel  

REPORTING BUGS(報告BUGS)

報告bugs,請發(fā)到<bug-textutils@gnu.org>.  

COPYRIGHT(版權)

版權所有?1999 Free Software Foundation, Inc. 
這是自由軟件;參見關于復制條件的源文件.不承擔任何責任;更不用說商用性或特殊需求的適 應性.  

SEE ALSO (另見)

sort 的完整文檔是以Texinfo手冊的方式維護的.如果在你那兒正確地安裝了 info 和 sort程序,命令

info sort

應該可以讓你訪問整個手冊.

 

[中文版維護人]

riser E-mail:boomer@ccidnet.com  

[中文版最新更新]

2000/12/5 
(http://www.fanqiang.com) 

#p#

NAME

sort - sort lines of text files  

SYNOPSIS

sort [OPTION]... [FILE]...  

DESCRIPTION

Write sorted concatenation of all FILE(s) to standard output.

Ordering options:

Mandatory arguments to long options are mandatory for short options too.

-b, --ignore-leading-blanks ignore leading blanks
-d, --dictionary-order
consider only blanks and alphanumeric characters
-f, --ignore-case
fold lower case to upper case characters
-g, --general-numeric-sort
compare according to general numerical value
-i, --ignore-nonprinting
consider only printable characters
-M, --month-sort
compare (unknown) < `JAN' < ... < `DEC'
-n, --numeric-sort
compare according to string numerical value
-r, --reverse
reverse the result of comparisons

Other options:

-c, --check
check whether input is sorted; do not sort
-k, --key=POS1[,POS2]
start a key at POS1, end it at POS 2 (origin 1)
-m, --merge
merge already sorted files; do not sort
-o, --output=FILE
write result to FILE instead of standard output
-s, --stable
stabilize sort by disabling last-resort comparison
-S, --buffer-size=SIZE
use SIZE for main memory buffer
-t, --field-separator=SEP use SEP instead of non-blank to blank transition
-T, --temporary-directory=DIR
use DIR for temporaries, not $TMPDIR or /tmp; multiple options specify multiple directories
-u, --unique
with -c, check for strict ordering; without -c, output only the first of an equal run
-z, --zero-terminated
end lines with 0 byte, not newline
--help
display this help and exit
--version
output version information and exit

POS is F[.C][OPTS], where F is the field number and C the character position in the field. OPTS is one or more single-letter ordering options, which override global ordering options for that key. If no key is given, use the entire line as the key.

SIZE may be followed by the following multiplicative suffixes: % 1% of memory, b 1, K 1024 (default), and so on for M, G, T, P, E, Z, Y.

With no FILE, or when FILE is -, read standard input.

*** WARNING *** The locale specified by the environment affects sort order. Set LC_ALL=C to get the traditional sort order that uses native byte values.  

AUTHOR

Written by Mike Haertel and Paul Eggert.  

REPORTING BUGS

Report bugs to <bug-coreutils@gnu.org>.  

COPYRIGHT

Copyright © 2004 Free Software Foundation, Inc. 
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  

SEE ALSO

The full documentation for sort is maintained as a Texinfo manual. If the info and sort programs are properly installed at your site, the command

info coreutils sort

should give you access to the complete manual. 

責任編輯:yangsai 來源: cmpp.net
相關推薦

2011-08-15 10:21:09

man中文man

2011-08-24 16:48:36

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-08-25 15:51:06

feof中文man

2011-08-24 17:30:25

reset中文man

2011-08-18 19:15:25

group中文man

2011-08-18 19:21:18

info中文man

2011-08-18 15:10:06

aliases中文man

2011-08-11 18:05:04

chvt中文man

2011-08-11 17:27:20

charset中文man

2011-08-11 18:13:07

clear中文man

2011-08-11 16:48:04

cal中文man

2011-08-11 17:16:43

cce中文man

2011-08-11 17:21:47

chattr中文man

2011-08-11 15:03:21

ACCESS中文man

2011-08-24 10:39:21

COMMIT中文man

2011-08-24 10:31:55

CLUSTER中文man

2011-08-24 10:11:43

bootparam中文man

2011-08-15 17:59:10

lha中文man
點贊
收藏

51CTO技術棧公眾號