SORT
Section: FSF (1)
Updated: 1999Äê12ÔÂ
Index
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¶ø²»ÊDZê×¼Êä³ö.
- -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 <boomer@ccidnet.com>
[ÖÐÎÄ°æ×îиüÐÂ]
2001/08/08
¡¶ÖйúlinuxÂÛ̳manÊÖ²áÒ³·Òë¼Æ»®¡·:
http://cmpp.linuxforum.net
Index
- NAME(Ãû³Æ)
-
- SYNOPSIS(×ÜÀÀ)
-
- DESCRIPTION(ÃèÊö)
-
- AUTHOR(×÷Õß)
-
- REPORTING BUGS(±¨¸æBUGS)
-
- COPYRIGHT(°æȨ)
-
- SEE ALSO (Áí¼û)
-
- [ÖÐÎÄ°æά»¤ÈË]
-
- [ÖÐÎÄ°æ×îиüÐÂ]
-
- ¡¶ÖйúlinuxÂÛ̳manÊÖ²áÒ³·Òë¼Æ»®¡·:
-
This document was created by
man2html,
using the manual pages.
Time: GMT, January 14, 2004