-
- cat - concatenate files
-
- cat [ options ] [file ...]
-
- cat copies each file in sequence to the standard output. If no file is given, or if the file is -, cat copies from
standard input starting at the current location.
-
- -b, --number-nonblank
- Number lines as with -n but omit line numbers from blank lines.
- -d, --dos-input
- Input files are opened in textmode which removes carriage returns in front of new-lines on some systems.
- -e
- Equivalent to -vE.
- -n, --number
- Causes a line number to be inserted at the beginning of each line.
- -s
- Equivalent to -S for att universe and -B otherwise.
- -t
- Equivalent to -vT.
- -u, --unbuffer
- The output is not delayed by buffering.
- -v, --show-nonprinting
- Causes non-printing characters (whith the exception of tabs, new-lines, and form-feeds) to be output as printable
charater sequences. ASCII control characters are printed as ^n, where n is the corresponding ASCII character in the range octal 100-137. The
DEL character (octal 0177) is copied as ^?. Other non-printable characters are copied as M-x where x is the ASCII character specified
by the low-order seven bits. Multibyte characters in the current locale are treated as printable characters.
- -A, --show-all
- Equivalent to -vET.
- -B, --squeeze-blank
- Multiple adjacent new-line characters are replace by one new-line.
- -D, --dos-output
- Output files are opened in textmode which inserts carriage returns in front of new-lines on some systems.
- -E, --show-ends
- Causes a $ to be inserted before each new-line.
- -S, --silent
- cat is silent about non-existent files.
- -T, --show-blank
- Causes tabs to be copied as ^I and formfeeds as ^L.
-
- cp(1), getconf(1), pr(1)
-
- version
- cat (AT&T Research) 2007-07-17
- author
- Glenn Fowler <gsf@research.att.com>
- author
- David Korn <dgk@research.att.com>
- copyright
- Copyright © 1992-2008 AT&T Intellectual Property
- license
- http://www.opensource.org/licenses/cpl1.0.txt