Difference between revisions of "Shell Commands/Clone"

From MorphOS Library

< Shell Commands

(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 -...")
 
(No difference)

Latest revision as of 15:45, 13 March 2015

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.