成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

sort 中文man頁面

系統
sort - 對文本文件的行排序。

SORT

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


 

NAME(名稱)

sort - 對文本文件的行排序  

SYNOPSIS(總覽)

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

DESCRIPTION(描述)

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

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

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

AUTHOR(作者)

Mike Haertel  

REPORTING BUGS(報告BUGS)

報告bugs,請發到<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-11 15:03:21

ACCESS中文man

2011-08-11 15:28:43

ali中文man

2011-08-11 16:31:49

biff中文man

2011-08-11 17:16:43

cce中文man

2011-08-11 18:05:04

chvt中文man

2011-08-11 18:13:07

clear中文man

2011-08-12 09:13:02

df中文man

2011-08-12 09:38:06

dircolors中文man

2011-08-12 09:44:37

dirname中文man

2011-08-12 10:20:02

echo中文man

2011-08-12 10:25:55

eject中文man

2011-08-12 11:07:19

git中文man

2011-08-12 13:18:19

head中文man

2011-08-12 13:49:23

hostid中文man

2011-08-12 13:54:46

hostname中文man

2011-08-12 14:53:56

kill中文man
點贊
收藏

51CTO技術棧公眾號

主站蜘蛛池模板: 网站黄色av | 国产精品自产拍在线观看蜜 | 麻豆国产一区二区三区四区 | 黑人久久 | 91福利在线观看 | 亚洲欧洲视频 | 中文字幕国产 | 亚洲欧美国产精品久久 | 日韩中文字幕av | 日本激情视频在线播放 | 亚洲人精品午夜 | 日韩免费| 成人免费黄色 | 成人一区av偷拍 | 夜夜爆操 | 国产a级毛片 | 亚洲视频中文字幕 | 成人精品一区 | 国产成人高清视频 | 99精品视频免费观看 | 一区二区三区在线免费看 | 亚洲精品播放 | 久久综合av | 国产激情小视频 | 中文字幕在线第二页 | 综合激情av | 久久99精品久久久水蜜桃 | 热99精品视频 | 久久久69 | 夜夜骑首页 | 欧美三级成人理伦 | 欧美视频在线播放 | 欧美一区二区三区在线看 | 欧美专区日韩 | 欧美日韩在线播放 | 精品视频在线免费观看 | www.色婷婷 | 亚洲视频免费观看 | 日本欧美国产在线观看 | 草比网站 | 国产一区二区视频在线 |