1 .\" You may copy, distribute and modify under the terms of the LDP General
2 .\" Public License as specified in the LICENSE file that comes with the
3 .\" gnumaniak distribution
5 .\" The author kindly requests that no comments regarding the "better"
6 .\" suitability or up-to-date notices of any info documentation alternative
7 .\" is added without contacting him first.
9 .\" (C) 2002 Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
12 .\" man pages are NOT obsolete!
13 .\" <ragnar@ragnar-hojland.com>
15 .\" Japanese Version Copyright (c) 2000 NAKANO Takeo all rights reserved.
16 .\" Translated Sun 12 Mar 2000 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
17 .\" Updated & Modified Sat Jan 24 23:23:11 JST 2004
18 .\" by Yuichi SATO <ysato444@yahoo.co.jp>
20 .TH UNIQ 1 "7 October 2002" "GNU textutils 2.1"
21 .\"nakano: ¸¶Ê¸¤Ï info ¤Î¥¿¥¤¥È¥ë¤À¤¬¡¢¤ï¤±¤ï¤«¤ó¤Ê¤¤¤Î¤Ç
22 .\" textutils ¤Î man ¥Ú¡¼¥¸¤Î¥¿¥¤¥È¥ë
23 .\" "remove duplicate lines from a sorted file"
26 uniq \- ¥½¡¼¥È¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¤«¤é½Å¤Ê¤Ã¤¿¹Ô¤òºï½ü¤¹¤ë
29 [<\fB+\fR|\fB-\fR>\fIN\fR] [\fB\-ciduD\fR] [\fB\-f \fIN\fR] [\fB\-s \fIN\fR] [\fB\-w \fIN\fR]
30 .RB [ \-\-all\-repeated\fR[\fB={prepend,separate,none} ]]
31 .RB [ \-\-check\-chars=\fIN ]
33 .RB [ \-\-ignore\-case ]
35 .RB [ \-\-skip\-chars=\fIN ]
36 .RB [ \-\-skip\-fields=\fIN ]
38 .RI [ "INFILE " [ OUTFILE ]]
40 .BR uniq " [" \-\-help "] [" \-\-version ]
45 ¤Ë¤¢¤ë¥æ¥Ë¡¼¥¯¤Ê (¡á¾¤ÈÆâÍƤνŤʤé¤Ê¤¤) ¹Ô¤òɸ½à½ÐÎÏ
47 ¤¬»ØÄꤵ¤ì¤Æ¤¤¤¿¤é¤½¤ì) ¤Ë½ñ¤½Ð¤¹¡£
51 ¤À¤Ã¤¿¾ì¹ç¤Ë¤Ï¡¢É¸½àÆþÎϤ¬ÍѤ¤¤é¤ì¤ë¡£
55 ¤Ï¥½¡¼¥È¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¤Ë¤¢¤ë¥æ¥Ë¡¼¥¯¤Ê¹Ô¤òɽ¼¨¤¹¤ë¡£
56 ¤Ä¤Þ¤êÊ£¿ô¤Î¹Ô¤¬Æ±°ì¤ÊÆâÍƤò»ý¤Ä¾ì¹ç¤Ï¡¢1 ¹Ô¤À¤±É½¼¨¤·¤Æ»Ä¤ê¤Ï¼Î¤Æ¤ë¡£
57 ¥ª¥×¥·¥ç¥ó¤Ç»ØÄꤹ¤ë¤È¡¢1 ²ó¤·¤«¸½¤ï¤ì¤Ê¤¤¹Ô¤À¤±¤òɽ¼¨¤·¤¿¤ê¡¢
58 Ê£¿ô²ó¸½¤ï¤ì¤ë¹Ô¤À¤±¤òɽ¼¨¤¹¤ë¤³¤È¤â¤Ç¤¤ë¡£
61 ¤ËÍ¿¤¨¤ëÆþÎϤϥ½¡¼¥È¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
62 ÆþÎϤ¬¥½¡¼¥È¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï¡¢
63 `sort \-u' ¤ò»È¤¦¤Î¤¬Îɤ¤¤À¤í¤¦¡£
65 .B \-\fIN\fB, \-f \fIN\fB, \-\-skip\-fields\fB=\fIN
66 Ʊ°ì¹Ô¤«¤É¤¦¤«¤ÎȽÃǤò¹Ô¤¦Á°¤Ë \fIN\FR ¸Ä¤Î¥Õ¥£¡¼¥ë¥É¤ò¥¹¥¥Ã¥×¤¹¤ë¡£
67 ¥Õ¥£¡¼¥ë¥É¤È¤Ï¶õÇò¤È¥¿¥Ö°Ê³°¤Îʸ»ú¤«¤é¤Ê¤ëʸ»úÎó¤Ç¡¢
68 ¥Õ¥£¡¼¥ë¥É´Ö¤Ï 1 ¤Ä°Ê¾å¤Î¶õÇò¤«¥¿¥Ö¤Ç¶èÀÚ¤é¤ì¤ë¡£
69 û¤¤¥ª¥×¥·¥ç¥ó·Á¼° \fB\-\fR ¤Ï¿ä¾©¤µ¤ì¤Ê¤¤¡£
71 .B \+\fIN\fB, \-s \fIN\fB, \-\-skip\-chars\fB=\fIN
72 Ʊ°ì¹Ô¤«¤É¤¦¤«¤ÎȽÃǤò¹Ô¤¦Á°¤Ë \fIN\FR ¸Ä¤Îʸ»ú¤ò¥¹¥¥Ã¥×¤¹¤ë¡£
73 ¥Õ¥£¡¼¥ë¥É¥¹¥¥Ã¥×¤Èʸ»ú¥¹¥¥Ã¥×¤Î¥ª¥×¥·¥ç¥ó¤òξÊý»ØÄꤷ¤¿¾ì¹ç¤Ï¡¢
74 ¥Õ¥£¡¼¥ë¥É¥¹¥¥Ã¥×¤¬Àè¤Ë¹Ô¤ï¤ì¤ë¡£
75 û¤¤¥ª¥×¥·¥ç¥ó·Á¼° \fB\+\fR ¤Ï¿ä¾©¤µ¤ì¤Ê¤¤¡£
78 ¤½¤ì¤¾¤ì¤Î¹Ô¤¬²¿²ó¸½¤ï¤ì¤¿¤«¤ò¹Ô¤ÎÆâÍƤȤȤâ¤Ëɽ¼¨¤¹¤ë¡£
80 .B \-i, \-\-ignore\-case
81 Èæ³Ó¤ÎºÝ¤Ë±ÑÂçʸ»ú¾®Ê¸»ú¤Î°ã¤¤¤ò̵»ë¤¹¤ë¡£
84 Ʊ¤¸ÆâÍƤ¬ 2 ¹Ô°Ê¾å¤¢¤ë¤â¤Î¤À¤±¤ò½ÐÎϤ¹¤ë¡£
87 1 ²ó¤·¤«¸½¤ï¤ì¤Ê¤¤¹Ô¤À¤±¤ò½ÐÎϤ¹¤ë¡£
89 .B \-w \fIN\fB, \-\-check\-chars=\fIN
90 ¹Ô¤òÈæ³Ó¤¹¤ë¤È¤¡¢³Æ¹Ô¤Î \fIN\fR ¸Ä¤Îʸ»ú¤À¤±¤ò»È¤¦¡£
91 ¤³¤ì¤Ï¥Õ¥£¡¼¥ë¥É¤äʸ»ú¤Î¥¹¥¥Ã¥×¤ò¹Ô¤Ã¤¿¸å¤Î¿ô¤Ç¤¢¤ë¡£
92 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¥¹¥¥Ã¥×¸å»Ä¤Ã¤¿Ê¸»ú¤¹¤Ù¤Æ¤¬Èæ³Ó¤ÎÂоݤˤµ¤ì¤ë¡£
94 .B \-D, \-\-all\-repeated\fR[\fB={prepend,separate,none}\fR]
95 ½ÅÊ£¹Ô¤ò¤¹¤Ù¤Æɽ¼¨¤·¡¢½ÅÊ£¤·¤Ê¤«¤Ã¤¿¹Ô¤Ïɽ¼¨¤·¤Ê¤¤¡£
96 \fBprepend\fR ¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¡¢½ÅÊ£¤·¤¿¹Ô¤Î¥°¥ë¡¼¥×¤ÎÁ°¤Ë²þ¹Ô¤ò½ÐÎϤ¹¤ë¡£
97 \fBseparate\fR ¤Ï¡¢ºÇ½é¤Î¥°¥ë¡¼¥×¤ÎÁ°¤Ë²þ¹Ô¤ò½ÐÎϤ·¤Ê¤¤°Ê³°¤Ï¡¢
98 \fBprepend\fR ¤ÈƱ¤¸¤Ç¤¢¤ë¡£
99 .\"nakano: info uniq ¤è¤ê°Ê²¼¤âÌõ½Ð¡£
100 .\" This option is useful mainly in conjunction with other options
101 .\" e.g., to ignore case or to compare only selected fields.
102 .\" This is a GNU extension.
103 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¼ç¤Ë¾¤Î¥ª¥×¥·¥ç¥ó¤ÈÁȤ߹ç¤ï¤»¤Æ»È¤¦¡£
104 Î㤨¤ÐÂçʸ»ú¾®Ê¸»ú¤ò̵»ë¤·¤ÆÈæ³Ó¤·¤¿¤ê¡¢
105 ÆÃÄê¤Î¥Õ¥£¡¼¥ë¥É¤À¤±¤ÇÈæ³Ó¤¹¤ë¤è¤¦¤Ê¾ì¹ç¤Ç¤¢¤ë¡£
106 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï GNU ¤Ë¤è¤ë³ÈÄ¥¤Ç¤¢¤ë¡£
109 ɸ½à½ÐÎϤ˻ÈÍÑÊýË¡¤Î¥á¥Ã¥»¡¼¥¸¤ò½ÐÎϤ·¤ÆÀµ¾ï½ªÎ»¤¹¤ë¡£
112 ɸ½à½ÐÎϤ˥С¼¥¸¥ç¥ó¾ðÊó¤ò½ÐÎϤ·¤ÆÀµ¾ï½ªÎ»¤¹¤ë¡£
114 ¥×¥í¥°¥é¥à¤Î¥Ð¥°¤Ë¤Ä¤¤¤Æ¤Ï bug-textutils@gnu.org ¤ËÊó¹ð¤·¤Æ¤¯¤À¤µ¤¤¡£
116 man ¥Ú¡¼¥¸¤Ï Ragnar Hojland Espinosa
117 <ragnar@ragnar-hojland.com> ¤¬ºîÀ®¤·¤Þ¤·¤¿¡£