OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / gnumaniak / draft / man1 / head.1
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
4 .\"
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.
8 .\"
9 .\" (C) 2002 Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
10 .\"
11 .\"     GNU head man page
12 .\"     man pages are NOT obsolete!
13 .\"     <ragnar@ragnar-hojland.com>
14 .\"
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>
19 .\"
20 .TH HEAD 1 "7 October 2002" "GNU textutils 2.1"
21 .\"O .SH NAME
22 .\"O \fBhead\fR \- output the first part of files
23 .SH Ì¾Á°
24 head \- ¥Õ¥¡¥¤¥ë¤ÎºÇ½é¤ÎÉôʬ¤òɽ¼¨¤¹¤ë
25 .\"O .SH SYNOPSIS
26 .SH ½ñ¼°
27 .B 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 ]
31 .RI [ FILE... ]
32
33 .BR head " [" \-\-help "] [" \-\-version ]
34 .\"O .SH DESCRIPTION
35 .SH ÀâÌÀ
36 .\"O .B head
37 .\"O writes to standard output the first part (10 lines by default) of each
38 .\"O .I FILE
39 .\"O argument.  If
40 .\"O .I FILE
41 .\"O is omitted or if it is a
42 .\"O .RB ` \- ',
43 .\"O standard input is used for reading.
44 .B head
45 ¤Ï°ú¿ô¤Ë»ØÄꤵ¤ì¤¿
46 .I FILE
47 ¤ÎºÇ½é¤ÎÉôʬ (¥Ç¥Õ¥©¥ë¥È¤Ï 10 ¹Ô) ¤òɽ¼¨¤¹¤ë¡£
48 .I FILE
49 ¤¬ 1 ¤Ä¤âÍ¿¤¨¤é¤ì¤Ê¤¤¤Èɸ½àÆþÎϤ«¤éÆɤ߹þ¤à¡£¤Þ¤¿
50 .I FILE
51 ¤¬
52 .RB ` \- '
53 ¤À¤Ã¤¿¾ì¹ç¤Ë¤Ï¡¢¤½¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ïɸ½àÆþÎϤ¬ÍѤ¤¤é¤ì¤ë¡£
54
55 .\"O If more than one \fIFILE\fR is specified, \fBhead\fR prints a one-line header
56 .\"O consisting of
57 Ê£¿ô¤Î
58 .I FILE
59 ¤¬»ØÄꤵ¤ì¤¿¤È¤­¤Ï¡¤
60 .B head
61 ¤Ï¤½¤ì¤¾¤ì¤ÎÁ°¤Ë¡¢°Ê²¼¤ÎÆâÍƤΠ1 ¹Ô¤Î¥Ø¥Ã¥À¤ò³Æ¥Õ¥¡¥¤¥ë¤ÎÁ°¤Ë½ÐÎϤ¹¤ë:
62 .sp
63 .nf
64      ==> \fIFILENAME\fR <==
65 .fi
66 .\"nakano commented the following line to avoid the coutinuous blank lines.
67 .\".sp
68 .\"O before the output for each \fIFILE\fR.
69
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').
73 .B head
74 ¤Ï 2 ¤Ä¤Î¥ª¥×¥·¥ç¥ó·Á¼°¤ò¼õÉÕ¤±¤ë¡£¿·¤·¤¤·Á¼°¤Ï¡¢
75 ¿ôÃͤò¥ª¥×¥·¥ç¥ó¤Î°ú¿ô¤È¤·¤ÆÍ¿¤¨¤ë (`\fB\-q \-n 1\fP') ¤â¤Î¤Ç¤¢¤ê¡¢
76 ¸Å¤¤·Á¼°¤Ï¥ª¥×¥·¥ç¥óʸ»ú¤ÎÁ°¤Ë¿ôÃͤò»ØÄꤹ¤ë (`\fB\-1q\fP') ¤â¤Î¤Ç¤¢¤ë¡£
77 .\"O .SH OPTIONS
78 .SH ¥ª¥×¥·¥ç¥ó
79 .TP
80 .B \-\fILINES
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 ¤³¤Î¥ª¥×¥·¥ç¥ó¤ÏºÇ½é¤Ë»ØÄꤵ¤ì¤¿¤È¤­¤Ë¸Â¤Ã¤Æǧ¼±¤µ¤ì¤ë¡£
88 .I LINES
89 ¤Ï 10 ¿Ê¿ô¤Î¿ôÃÍ¡£
90 ñ°Ì¤òɽ¤¹Ê¸»ú
91 .RB (` b "', `" k "', `" m ')
92 ¤ò¸åÃÖ¤·¤¿¤ê (¤½¤ì¤¾¤ì¤Î°ÕÌ£¤Ï `\fB\-c\fP' ¤Î¤â¤Î¤ÈƱ¤¸)¡¢
93 ¹Ôñ°Ì¤Î¥«¥¦¥ó¥È¤ò»ØÄꤹ¤ë `\fBl\fP' ¤ò¸åÃÖ¤·¤¿¤ê¡¢
94 ¾¤Î¥ª¥×¥·¥ç¥óʸ»ú (`\fBcqv\fR') ¤ò¸åÃÖ¤·¤¿¤ê¤Ç¤­¤ë¡£
95 .\"nakano: ÌõÃí :-p
96 ²¿¤âʸ»ú¤¬¸åÃÖ¤µ¤ì¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï `\fBl\fP' ¤¬»ØÄꤵ¤ì¤¿¤Î¤ÈƱ¤¸¤³¤È¤Ë¤Ê¤ë¡£
97 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¿ä¾©¤µ¤ì¤Ê¤¤¡£
98 Âå¤ï¤ê¤Ë \fB\-\-lines\fR ¤ò»È¤¦¤³¤È¡£
99 .TP
100 .B \-c \fIBYTES\fB, \-\-bytes=\fIBYTES
101 .\"O Print the first \fIBYTES\fR bytes, instead of initial lines.  Appending
102 .\"O .RB ` b '
103 .\"O multiplies \fIBYTES\fB by 512,
104 .\"O .RB ` k '
105 .\"O by 1024, and
106 .\"O .RB ` m '
107 .\"O by 1048576.
108 ¹Ôñ°Ì¤Ç¤Ï¤Ê¤¯¡¢ÀèƬ¤Î
109 .I BYTES
110 ¥Ð¥¤¥È¤òɽ¼¨¤¹¤ë¡£
111 .RB ` b '
112 ¤òÄɲ乤ë¤È \fIBYTES\fR ¤Î 512 ÇÜ¡¢
113 .RB ` k '
114 ¤Ï 1024 ÇÜ¡¢
115 .RB ` m '
116 ¤Ï 1048576 Çܤò»ØÄꤷ¤¿¤³¤È¤Ë¤Ê¤ë¡£
117 .TP
118 .B \-n \fILINES\fB, \-\-lines=\fILINES
119 .\"O Output the first \fILINES\fR lines.
120 ºÇ½é¤Î
121 .I LINES
122 ¹Ô¤òɽ¼¨¤¹¤ë¡£
123 .TP
124 .B \-q, \-\-quiet, \-\-silent
125 .\"O Never print file name headers.
126 ¥Õ¥¡¥¤¥ë̾¤Î¥Ø¥Ã¥À¤ò½ÐÎϤ·¤Ê¤¤¡£
127 .TP
128 .B \-v, \-\-verbose
129 .\"O Always print file name headers.
130 ¾ï¤Ë¥Õ¥¡¥¤¥ë̾¤Î¥Ø¥Ã¥À¤ò½ÐÎϤ¹¤ë¡£
131 .TP
132 .B "\-\-help"
133 .\"O Print a usage message on standard output and exit successfully.
134 ɸ½à½ÐÎϤ˻ÈÍÑÊýË¡¤Î¥á¥Ã¥»¡¼¥¸¤ò½ÐÎϤ·¤ÆÀµ¾ï½ªÎ»¤¹¤ë¡£
135 .TP
136 .B "\-\-version"
137 .\"O Print version information on standard output then exit successfully.
138 ɸ½à½ÐÎϤ˥С¼¥¸¥ç¥ó¾ðÊó¤ò½ÐÎϤ·¤ÆÀµ¾ï½ªÎ»¤¹¤ë¡£
139 .\"O .SH NOTES
140 .SH Ãí°Õ
141 .\"O Report bugs to bug-textutils@gnu.org.
142 .\"O .br
143 .\"O Man page by Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
144 ¥×¥í¥°¥é¥à¤Î¥Ð¥°¤Ë¤Ä¤¤¤Æ¤Ï bug-textutils@gnu.org ¤ËÊó¹ð¤·¤Æ¤¯¤À¤µ¤¤¡£
145 .br
146 man ¥Ú¡¼¥¸¤Ï Ragnar Hojland Espinosa
147 <ragnar@ragnar-hojland.com> ¤¬ºîÀ®¤·¤Þ¤·¤¿¡£