10ec036
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
10ec036
.TH TAIL "1" "November 2009" "GNU coreutils 7.6" "User Commands"
10ec036
.\"O .SH NAME
10ec036
.SH 名前
10ec036
.\"O tail \- output the last part of files
10ec036
tail \- ファイルの末尾部分を表示する
10ec036
.\"O .SH SYNOPSIS
10ec036
.SH 書式
10ec036
.B tail
10ec036
[\fIOPTION\fR]... [\fIFILE\fR]...
10ec036
.\"O .SH DESCRIPTION
10ec036
.SH 説明
10ec036
.\" Add any additional description here
10ec036
.PP
10ec036
.\"O Print the last 10 lines of each FILE to standard output.
10ec036
.\"O With more than one FILE, precede each with a header giving the file name.
10ec036
.\"O With no FILE, or when FILE is \-, read standard input.
10ec036
それぞれの \fIFILE\fR の末尾 10 行を標準出力へ出力する。
10ec036
複数の \fIFILE\fR が与えられた場合は、与えられたファイル名をヘッダとして先に出力する。
10ec036
\fIFILE\fR が与えられなかった場合、あるいは \fIFILE\fR が \- の場合には標準入力から読み込む。
10ec036
.PP
10ec036
.\"O Mandatory arguments to long options are mandatory for short options too.
10ec036
長いオプションへの必須の引数は短いオプションでも必須である。
10ec036
.TP
10ec036
\fB\-c\fR, \fB\-\-bytes\fR=\fIK\fR
10ec036
.\"O output the last K bytes; alternatively, use +K to
10ec036
.\"O output bytes starting with the Kth of each file
10ec036
末尾 \fIK\fR バイトを出力する; 各ファイルの \fIK\fR バイトから出力を開始するには、代わりに +\fIK\fR を使う。
10ec036
.TP
10ec036
\fB\-f\fR, \fB\-\-follow[=\fR{name|descriptor}]
10ec036
.\"O output appended data as the file grows;
10ec036
.\"O \fB\-f\fR, \fB\-\-follow\fR, and \fB\-\-follow\fR=\fIdescriptor\fR are
10ec036
.\"O equivalent
10ec036
ファイルの内容が増え続ける時、追加されたデータを出力する;
10ec036
\fB\-f\fR, \fB\-\-follow\fR と \fB\-\-follow\fR=\fIdescriptor\fR は等価である。
10ec036
.TP
10ec036
\fB\-F\fR
10ec036
.\"O same as \fB\-\-follow\fR=\fIname\fR \fB\-\-retry\fR
10ec036
\fB\-\-follow\fR=\fIname\fR \fB\-\-retry\fR と等価である。
10ec036
.TP
10ec036
\fB\-n\fR, \fB\-\-lines\fR=\fIK\fR
10ec036
.\"O output the last K lines, instead of the last 10;
10ec036
.\"O or use +K to output lines starting with the Kth
10ec036
末尾 10 行の代わりに末尾 \fIK\fR 行を出力する。
10ec036
.TP
10ec036
\fB\-\-max\-unchanged\-stats\fR=\fIN\fR
10ec036
.\"O with \fB\-\-follow\fR=\fIname\fR, reopen a FILE which has not
10ec036
.\"O changed size after N (default 5) iterations
10ec036
.\"O to see if it has been unlinked or renamed
10ec036
.\"O (this is the usual case of rotated log files)
10ec036
\fB\-\-follow\fR=\fIname\fRと共に使用する。
10ec036
\fIFILE\fR が削除あるいはリネームされたかどうかを \fIN\fR 回 (デフォルトは 5 回) 調べた後、
10ec036
サイズが変更されていない \fIFILE\fR を開き直す。
10ec036
(これはローテートされたファイルによくあるケースである)
10ec036
.TP
10ec036
\fB\-\-pid\fR=\fIPID\fR
10ec036
.\"O with \fB\-f\fR, terminate after process ID, PID dies
10ec036
\fB\-f\fRと共に使用する。プロセスID \fIPID\fR が死んだ後終了する。
10ec036
.TP
10ec036
\fB\-q\fR, \fB\-\-quiet\fR, \fB\-\-silent\fR
10ec036
.\"O never output headers giving file names
10ec036
与えられたファイル名をヘッダとして出力しない。
10ec036
.TP
10ec036
\fB\-\-retry\fR
10ec036
.\"O keep trying to open a file even when it is or
10ec036
.\"O becomes inaccessible; useful when following by
10ec036
.\"O name, i.e., with \fB\-\-follow\fR=\fIname\fR
10ec036
ファイルがアクセスできない、あるいはアクセスできなくなろうとしていたとしても、
10ec036
ファイルのオープンを繰り返す; \fB\-\-follow\fR=\fIname\fR
10ec036
で名前で追跡している場合に有用である。
10ec036
.TP
10ec036
\fB\-s\fR, \fB\-\-sleep\-interval\fR=\fIN\fR
10ec036
.\"O with \fB\-f\fR, sleep for approximately N seconds
10ec036
.\"O (default 1.0) between iterations
10ec036
\fB\-f\fR と共に使用する。追跡しているファイルのチェックを \fIN\fR 秒毎に行う。
10ec036
(デフォルトは 1.0 秒)
10ec036
.TP
10ec036
\fB\-v\fR, \fB\-\-verbose\fR
10ec036
.\"O always output headers giving file names
10ec036
与えられたファイル名を常にヘッダとして出力する。
10ec036
.TP
10ec036
\fB\-\-help\fR
10ec036
.\"O display this help and exit
10ec036
このヘルプを表示して終了する。
10ec036
.TP
10ec036
\fB\-\-version\fR
10ec036
.\"O output version information and exit
10ec036
バージョン情報を表示して終了する。
10ec036
.PP
10ec036
.\"O If the first character of K (the number of bytes or lines) is a `+',
10ec036
.\"O print beginning with the Kth item from the start of each file, otherwise,
10ec036
.\"O print the last K items in the file.  K may have a multiplier suffix:
10ec036
.\"O b 512, kB 1000, K 1024, MB 1000*1000, M 1024*1024,
10ec036
.\"O GB 1000*1000*1000, G 1024*1024*1024, and so on for T, P, E, Z, Y.
10ec036
もし \fIK\fR(バイト数あるいは行数) の最初の文字が `+' である場合、それぞれのファイルの
10ec036
先頭から \fIK\fR 番目の項目より表示し始める。通常はファイルの末尾 \fIK\fR 番目の項目より
10ec036
表示する。\fIK\fR は単位を表す文字を含むことができる:
10ec036
b 512, kB 1000, K 1024, MB 1000*1000, M 1024*1024,
10ec036
GB 1000*1000*1000, G 1024*1024*1024, T, P, E, Z, Y も然り。
10ec036
.PP
10ec036
.\"O With \fB\-\-follow\fR (\fB\-f\fR), tail defaults to following the file descriptor, which
10ec036
.\"O means that even if a tail'ed file is renamed, tail will continue to track
10ec036
.\"O its end.  This default behavior is not desirable when you really want to
10ec036
.\"O track the actual name of the file, not the file descriptor (e.g., log
10ec036
.\"O rotation).  Use \fB\-\-follow\fR=\fIname\fR in that case.  That causes tail to track the
10ec036
.\"O named file by reopening it periodically to see if it has been removed and
10ec036
.\"O recreated by some other program.
10ec036
\fB\-\-follow\fR (\fB\-f\fR) と共に使用すると、tail はファイル記述子を追跡する。つまり、tail されたファイル名が
10ec036
変更されても、その終端を追跡し続ける。ファイル記述子ではなく、実際のファイルの名前を追跡したい場合には、
10ec036
このデフォルトの挙動は好ましくない。(例えば、ログローテーションなど)
10ec036
この場合、\fB\-\-follow\fR=\fIname\fR を使用する。これにより、tail は他のプログラムによって削除や再作成されたかどうかを
10ec036
調べるために、定期的にファイルを開き直すことで追跡するようになる。
10ec036
.\"O .SH AUTHOR
10ec036
.\"O Written by Paul Rubin, David MacKenzie, Ian Lance Taylor,
10ec036
.\"O and Jim Meyering.
10ec036
.SH 著者
10ec036
Paul Rubin, David MacKenzie, Ian Lance Taylor そして Jim Meyering によって書かれた。
10ec036
.\"O .SH "REPORTING BUGS"
10ec036
.\"O Report tail bugs to bug\-coreutils@gnu.org
10ec036
.SH バグ報告
10ec036
tail のバグ報告は bug\-coreutils@gnu.org へ報告してください。
10ec036
.br
10ec036
.\"O GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
10ec036
GNU coreutils のホームページ: <http://www.gnu.org/software/coreutils/>
10ec036
.br
10ec036
.\"O General help using GNU software: <http://www.gnu.org/gethelp/>
10ec036
GNU ソフトウェアの利用に関する一般的なヘルプ: <http://www.gnu.org/gethelp/>
10ec036
.\"O .SH COPYRIGHT
10ec036
.SH 著作権
10ec036
Copyright \(co 2009 Free Software Foundation, Inc.
10ec036
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
10ec036
.br
10ec036
This is free software: you are free to change and redistribute it.
10ec036
There is NO WARRANTY, to the extent permitted by law.
10ec036
.\"O .SH "SEE ALSO"
10ec036
.\"O The full documentation for
10ec036
.\"O .B tail
10ec036
.\"O is maintained as a Texinfo manual.  If the
10ec036
.\"O .B info
10ec036
.\"O and
10ec036
.\"O .B tail
10ec036
.\"O programs are properly installed at your site, the command
10ec036
.SH 関連項目
10ec036
\fBtail\fR の完全なドキュメントは Texinfo マニュアルとして保守されている。
10ec036
もし \fBinfo\fR および \fBtail\fR プログラムが適切にインストールされているならば、コマンド
10ec036
.IP
10ec036
.B info coreutils \(aqtail invocation\(aq
10ec036
.PP
10ec036
.\"O should give you access to the complete manual.
10ec036
を実行することで、完全なマニュアルにアクセスできるはずである。