cat man page on Plan9

Man page or keyword search:  
man Server   549 pages
apropos Keyword Search (all sections)
Output format
Plan9 logo
[printable version]

CAT(1)									CAT(1)

       cat, read - catenate files

       cat [ file ...  ]
       read [ -m ] [ -n nline ] [ file ...  ]

       Cat  reads  each file in sequence and writes it on the standard output.

	      cat file

       prints a file and

	      cat file1 file2 >file3

       concatenates the first two files and places the result on the third.

       If no file is given, cat reads from  the	 standard  input.   Output  is
       buffered in blocks matching the input.

       Read  copies  to	 standard output exactly one line from the named file,
       default standard input.	It is useful in interactive rc(1) scripts.

       The -m flag causes it to continue reading and  writing  multiple	 lines
       until end of file; -n causes it to read no more than nline lines.

       Read  always  executes a single write for each line of input, which can
       be helpful when preparing input to programs that expect	line-at-a-time
       data.   It  never  reads any more data from the input than it prints to
       the output.



       Read exits with status eof on end of file or, in the  -n	 case,	if  it
       doesn't read nlines lines.

       Beware of and which destroy input files before reading them.

                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Plan9

List of man pages available for Plan9

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net