OSDN Git Service

Convert release and draft pages to UTF-8.
[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> が作成しました。