Cat: Difference between revisions

From ICO wiki
Jump to navigationJump to search
(Created page with ' == CAT == SEE ARTIKKEL ON POOLELI == Autor == Urmo Laaneots A21 aasta 2011 Category:Operatsioonisüsteemide administreerimine ja sidumine')
 
No edit summary
Line 1: Line 1:
== Sissejuhatus ==
SEE ARTIKKEL ON POOLELI


== CAT ==
SEE ARTIKKEL ON POOLELI
== Autor ==
== Autor ==
Urmo Laaneots A21 aasta 2011
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)






[[Category:Operatsioonisüsteemide administreerimine ja sidumine]]
[[Category:Operatsioonisüsteemide administreerimine ja sidumine]]

Revision as of 11:23, 18 April 2011

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)