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 14:11:31 JST 2004
18 .\" by Yuichi SATO <ysato444@yahoo.co.jp>
20 .TH HEAD 1 "7 October 2002" "GNU textutils 2.1"
22 .\"O \fBhead\fR \- output the first part of files
24 head \- ¥Õ¥¡¥¤¥ë¤ÎºÇ½é¤ÎÉôʬ¤òɽ¼¨¤¹¤ë
28 [\fB\-\fILINES\fR] [\fB\-qv\fR] [\fB\-c \fIBYTES\fR]
29 [\fB\-n \fILINES\fR] [\fB\-\-bytes=\fIBYTES\fR] [\fB\-\-lines=\fILINES\fR]
30 .RB [ \-\-quiet "] [" \-\-silent "] [" \-\-verbose ]
33 .BR head " [" \-\-help "] [" \-\-version ]
37 .\"O writes to standard output the first part (10 lines by default) of each
41 .\"O is omitted or if it is a
43 .\"O standard input is used for reading.
47 ¤ÎºÇ½é¤ÎÉôʬ (¥Ç¥Õ¥©¥ë¥È¤Ï 10 ¹Ô) ¤òɽ¼¨¤¹¤ë¡£
49 ¤¬ 1 ¤Ä¤âÍ¿¤¨¤é¤ì¤Ê¤¤¤Èɸ½àÆþÎϤ«¤éÆɤ߹þ¤à¡£¤Þ¤¿
53 ¤À¤Ã¤¿¾ì¹ç¤Ë¤Ï¡¢¤½¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ïɸ½àÆþÎϤ¬ÍѤ¤¤é¤ì¤ë¡£
55 .\"O If more than one \fIFILE\fR is specified, \fBhead\fR prints a one-line header
61 ¤Ï¤½¤ì¤¾¤ì¤ÎÁ°¤Ë¡¢°Ê²¼¤ÎÆâÍƤΠ1 ¹Ô¤Î¥Ø¥Ã¥À¤ò³Æ¥Õ¥¡¥¤¥ë¤ÎÁ°¤Ë½ÐÎϤ¹¤ë:
64 ==> \fIFILENAME\fR <==
66 .\"nakano commented the following line to avoid the coutinuous blank lines.
68 .\"O before the output for each \fIFILE\fR.
70 .\"O \fBhead\fR accepts two option formats: the new one, in which numbers are
71 .\"O arguments to the options (`\fB\-q \-n 1\fR'), and the old one, in which the
72 .\"O number precedes any option letters (`fB\-1q\fR').
74 ¤Ï 2 ¤Ä¤Î¥ª¥×¥·¥ç¥ó·Á¼°¤ò¼õÉÕ¤±¤ë¡£¿·¤·¤¤·Á¼°¤Ï¡¢
75 ¿ôÃͤò¥ª¥×¥·¥ç¥ó¤Î°ú¿ô¤È¤·¤ÆÍ¿¤¨¤ë (`\fB\-q \-n 1\fP') ¤â¤Î¤Ç¤¢¤ê¡¢
76 ¸Å¤¤·Á¼°¤Ï¥ª¥×¥·¥ç¥óʸ»ú¤ÎÁ°¤Ë¿ôÃͤò»ØÄꤹ¤ë (`\fB\-1q\fP') ¤â¤Î¤Ç¤¢¤ë¡£
81 .\"O This option is only recognized if it is specified first. \fILINES\fR is
82 .\"O a decimal number optionally followed by a size letter
83 .\"O .RB (` b "', `" k "', `" m ')
84 .\"O as in `\fB\-c\fR', or `\fBl\fR' to mean count by lines, or other option
85 .\"O letters (`\fBcqv\fR').
86 .\"O letters (`\fBcqv\fR'). This option is deprecated, use \fR\-\-lines\fB instead.
87 ¤³¤Î¥ª¥×¥·¥ç¥ó¤ÏºÇ½é¤Ë»ØÄꤵ¤ì¤¿¤È¤¤Ë¸Â¤Ã¤Æǧ¼±¤µ¤ì¤ë¡£
91 .RB (` b "', `" k "', `" m ')
92 ¤ò¸åÃÖ¤·¤¿¤ê (¤½¤ì¤¾¤ì¤Î°ÕÌ£¤Ï `\fB\-c\fP' ¤Î¤â¤Î¤ÈƱ¤¸)¡¢
93 ¹Ôñ°Ì¤Î¥«¥¦¥ó¥È¤ò»ØÄꤹ¤ë `\fBl\fP' ¤ò¸åÃÖ¤·¤¿¤ê¡¢
94 ¾¤Î¥ª¥×¥·¥ç¥óʸ»ú (`\fBcqv\fR') ¤ò¸åÃÖ¤·¤¿¤ê¤Ç¤¤ë¡£
96 ²¿¤âʸ»ú¤¬¸åÃÖ¤µ¤ì¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï `\fBl\fP' ¤¬»ØÄꤵ¤ì¤¿¤Î¤ÈƱ¤¸¤³¤È¤Ë¤Ê¤ë¡£
97 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¿ä¾©¤µ¤ì¤Ê¤¤¡£
98 Âå¤ï¤ê¤Ë \fB\-\-lines\fR ¤ò»È¤¦¤³¤È¡£
100 .B \-c \fIBYTES\fB, \-\-bytes=\fIBYTES
101 .\"O Print the first \fIBYTES\fR bytes, instead of initial lines. Appending
103 .\"O multiplies \fIBYTES\fB by 512,
108 ¹Ôñ°Ì¤Ç¤Ï¤Ê¤¯¡¢ÀèƬ¤Î
112 ¤òÄɲ乤ë¤È \fIBYTES\fR ¤Î 512 ÇÜ¡¢
116 ¤Ï 1048576 Çܤò»ØÄꤷ¤¿¤³¤È¤Ë¤Ê¤ë¡£
118 .B \-n \fILINES\fB, \-\-lines=\fILINES
119 .\"O Output the first \fILINES\fR lines.
124 .B \-q, \-\-quiet, \-\-silent
125 .\"O Never print file name headers.
126 ¥Õ¥¡¥¤¥ë̾¤Î¥Ø¥Ã¥À¤ò½ÐÎϤ·¤Ê¤¤¡£
129 .\"O Always print file name headers.
130 ¾ï¤Ë¥Õ¥¡¥¤¥ë̾¤Î¥Ø¥Ã¥À¤ò½ÐÎϤ¹¤ë¡£
133 .\"O Print a usage message on standard output and exit successfully.
134 ɸ½à½ÐÎϤ˻ÈÍÑÊýË¡¤Î¥á¥Ã¥»¡¼¥¸¤ò½ÐÎϤ·¤ÆÀµ¾ï½ªÎ»¤¹¤ë¡£
137 .\"O Print version information on standard output then exit successfully.
138 ɸ½à½ÐÎϤ˥С¼¥¸¥ç¥ó¾ðÊó¤ò½ÐÎϤ·¤ÆÀµ¾ï½ªÎ»¤¹¤ë¡£
141 .\"O Report bugs to bug-textutils@gnu.org.
143 .\"O Man page by Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
144 ¥×¥í¥°¥é¥à¤Î¥Ð¥°¤Ë¤Ä¤¤¤Æ¤Ï bug-textutils@gnu.org ¤ËÊó¹ð¤·¤Æ¤¯¤À¤µ¤¤¡£
146 man ¥Ú¡¼¥¸¤Ï Ragnar Hojland Espinosa
147 <ragnar@ragnar-hojland.com> ¤¬ºîÀ®¤·¤Þ¤·¤¿¡£