SYNTAX

    tee [options] [<file>] ...


OPTIONS

-h (--help) bool

Display help.

-a (--append) bool

If specified, append to the file(s) if it already exists, rather than overwriting it. The default is to create the file if it doesn't already exist, and overwrite it if it does.

-r (--rdebug) bool

If specified, send the output to RDebug::Print as well as to stdout and any specified files.


ARGUMENTS

[<file>]

The file to be written. Can be specified more than once. [filename(s)]


DESCRIPTION

Copies stdin to stdout and additionally to a file.

Copies standard input to standard output and also to any files given as arguments. This is useful when you want not only want to see a command's output on the console, but also to save a copy.


COPYRIGHT

Copyright (c) 2006-2010 Accenture. All rights reserved.