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' が指定されたのと同じことになる。
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,
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.
129 .\"O Always print file name headers.
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> が作成しました。