Shell Commands/Clone

From MorphOS Library

Revision as of 17:45, 13 March 2015 by JPV (talk | contribs) (Created page with "'''Clone''' - Reads the standard input or a file and writes it to both standard output and a specified file FROM/K, COPYTO=TO, APPEND/S, IGNOREBREAK/S <nowiki> FROM -...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

< Shell Commands

Clone - Reads the standard input or a file and writes it to both standard output and a specified file

FROM/K, COPYTO=TO, APPEND/S, IGNOREBREAK/S

FROM        - File to read for the input
COPYTO      - File to write the output to
APPEND      - Appends the output to the existing file instead of writing over it
IGNOREBREAK - Ignores break signals sent to the process

This is a DOS-style implementation of the 'tee' command from Unix-like operating systems.