Cat

From ICO wiki
Revision as of 10:23, 18 April 2011 by Ulaaneot (talk | contribs)
Jump to navigationJump to search

Sissejuhatus

SEE ARTIKKEL ON POOLELI


Autor

Urmo Laaneots A21 aasta 2011


CAT'i spetsifikatsioon

The Single Unix Specification specifies the behavior that the contents of each of the files given in sequence as arguments will be written to the standard output in the same sequence, and mandates one option, -u, where each byte is printed as it is read. If the filename is specified as -, then cat will read from standard input at that point in the sequence. If no files are specified, cat will read from standard input entered. [edit]Extensions Both the BSD versions of cat (as per the OpenBSD manpage) and the GNU coreutils version of cat specify the following options: -b (GNU only: --number-nonblank), number non-blank output lines -n (GNU only: --number), number all output lines -s (GNU only: --squeeze-blank), squeeze multiple adjacent blank lines -v (GNU only: --show-nonprinting), displays nonprinting characters as if they were visible, except for tabs and the end of line character -t on BSD, -T on GNU, implies -v but also display tabs as ^I -e on BSD, -E on GNU, implies -v but also display end-of-line characters as $


Vaata veel

dog, an enhanced replacement for cat [1] [2] Coreutils List of Unix utilities split, a command that splits a file into pieces which cat can then rejoin. zcat paste (Unix)