cat Top Level

cat

  1. Quick and Concise Document

  2. Beginners

cat QCD Help

 Command                  Description
 -------                  -----------

 cat filename             Concatenate and print a file in a rapid scroll
                          without pausing.
 
 cat file1 file2 >file3   Concatenate file1 and file2 and write the output
                          to file3.

 cat -v                   Cause non-printing characters to be printed.

 cat -vt                  Cause tabs to print as ^I's and formfeeds as ^L's.
                          
 cat -ve                  Cause a $ character to be printed at the end
                          of each  line, prior to a new-line.


cat Beginner Help


Use the cat command to concatenate and print files in a rapid scroll
without pausing.  Type Control-c to abort the cat function.

   world%  cat filename

cat reads each file in sequence and writes it on the standard output.
Thus,

   world%  cat file

prints the contents of file on your terminal, and

   world%  cat file1 file2 >file3

concatenates file1 and file2, and writes the results in file3.  If no
input file is given, or if the argument - is encountered, cat reads from
the standard input.  cat processes supplementary code set characters
according to the locale specified in the LC_CTYPE environment variable.

Redirecting the output of cat onto one of the files being read will cause
the loss of the data originally in the file being read.  For example,

   world%  cat file1 file2 >file1

causes the original data in file1 to be lost.


The -v option causes non-printing characters (with the exception of 
tabs, newlines and form-feeds) to be printed visibly.

The -vt option causes tabs to be printed as ^I's and formfeeds to be
printed as ^L's.

The -ve option causes a $ character to be printed at the end of each
line (prior to the new-line).


HOME Top of Help Desk Eye On The World  The World Kiosk


             For further assistance, please send an email 
                   request to support@world.std.com

        Copyright 1995 Software Tool & Die, Inc.  All Rights Reserved.

   Software Tool & Die, Inc., 1330 Beacon St. Suite 215 Brookline, MA 02146