The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

cat - concatenate and print files

SYNOPSIS

cat [-benstuv] [file ...]

DESCRIPTION

cat reads and prints the files in order they are given. If no files are given, standard input is processed. A lone dash represents standard input as well.

OPTIONS

cat accepts the following options:

-b

Number all the non blank lines, starting at 1.

-e

Print a dollar sign ($) at the end of each lines. Implies -v.

-n

Number all the lines, starting at 1.

-s

The squeeze option. Sequential empty lines are squeezed into a single empty line.

-t

Display tabs as ^I. Implies -v.

-u

Unbuffer output.

-v

Display non-printable characters in a printable way. Characters in the range \000 - \037, with the exception of tabs and linefeeds, are printed as ^X, where X is the symbol \0100 higher. DEL is printed as ^?. Characters whose highest bit is set are printed as M-, followed by the representation of the character with the high bit stripped.

ENVIRONMENT

The working of cat is not influenced by any environment variables.

BUGS

cat has no known bugs.

STANDARDS

This cat implementation is compliant with the IEEE Std1003.2-1992 specification, also known as POSIX.2.

This cat implementation is compatible with the OpenBSD implementation.

AUTHOR

The Perl implementation of cat was written by Abigail, perlpowertools@abigail.be.

COPYRIGHT and LICENSE

This program is copyright by Abigail 1999.

This program is free and open software. You may use, copy, modify, distribute and sell this program (and any modified variants) in any way you wish, provided you do not restrict others to do the same.