使用法: cat [オプション]... [ファイル]...
Concatenate FILE(s), or standard input, to standard output.
-A, --show-all equivalent to -vET
-b, --number-nonblank number nonempty output lines
-e equivalent to -vE
-E, --show-ends display $ at end of each line
-n, --number number all output lines
-s, --squeeze-blank suppress repeated empty output lines
-t -vTと同じ
-T, --show-tabs TAB文字を`^I'で表示
-u (無視)
-v, --show-nonprinting 非表示文字と`^'や`^'を付けて表示 (LFDとTABは除く)
--help この使い方を表示して終了
--version バージョン情報を表示して終了
ファイルの指定がなかったり, - であった場合, 標準入力から読み込みます.
Examples:
cat f - g Output f's contents, then standard input, then g's contents.
cat Copy standard input to standard output.
Report cat bugs to bug-coreutils@gnu.org
GNU coreutils home page:
Usage: cat [OPTION]... [FILE]...
Concatenate FILE(s), or standard input, to standard output.
-A, --show-all equivalent to -vET
-b, --number-nonblank number nonempty output lines
-e equivalent to -vE
-E, --show-ends display $ at end of each line
-n, --number number all output lines
-s, --squeeze-blank suppress repeated empty output lines
-t equivalent to -vT
-T, --show-tabs display TAB characters as ^I
-u (ignored)
-v, --show-nonprinting use ^ and M- notation, except for LFD and TAB
--help display this help and exit
--version output version information and exit
With no FILE, or when FILE is -, read standard input.
Examples:
cat f - g Output f's contents, then standard input, then g's contents.
cat Copy standard input to standard output.
Report cat bugs to bug-coreutils@gnu.org
GNU coreutils home page:
CAT(1) CAT(1)
名前
cat - ファイルを連結して出力する
書式
cat [-benstuvABET] [--binary] [--number] [--number-nonblank]
[--show-all] [--show-ends] [--show-nonprinting] [--show-tabs]
[--squeeze-blank] [FILE...]
cat [--help] [--version]
説明
cat は指定したファイルそれぞれの内容を標準出力へ書き出す。 FILE が一つ
も与えられないと標準入力から読み込む。また FILE が ‘-’ だった場合には、
そのファイルには標準入力が用いられる。
オプション
-b, --number-nonblank
空白でない行に番号を付ける。初めの行を1行目とする。
-e ‘-vE’ と同じ。
-n, --number
すべての行に番号を付ける。初めの行を 1行目とする。
-s, --squeeze-blank
連続した空白行を、1つの空白行にまとめる。
-t ‘-vT’ と同じ。
-u 何もしない。 Unix との互換性のために存在する。
-v, --show-nonprinting
CAT(1) User Commands CAT(1)
NAME
cat - concatenate files and print on the standard output
SYNOPSIS
cat [OPTION]... [FILE]...
DESCRIPTION
Concatenate FILE(s), or standard input, to standard output.
-A, --show-all
equivalent to -vET
-b, --number-nonblank
number nonempty output lines
-e equivalent to -vE
-E, --show-ends
display $ at end of each line
-n, --number
number all output lines
-s, --squeeze-blank
suppress repeated empty output lines
-t equivalent to -vT
-T, --show-tabs
display TAB characters as ^I
-u (ignored)
-v, --show-nonprinting
use ^ and M- notation, except for LFD and TAB
--help display this help and exit
--version
output version information and exit
With no FILE, or when FILE is -, read standard input.
EXAMPLES
cat f - g
Output f’s contents, then standard input, then g’s contents.
cat Copy standard input to standard output.
AUTHOR
Written by Torbjorn Granlund and Richard M. Stallman.
REPORTING BUGS
Report cat bugs to bug-coreutils@gnu.org
GNU coreutils home page:
Copyright(C) linux-cmd.com All Rights Reserved. Author Takayuki Yukawa