home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
240.lha
/
Tee_v1.0
/
tee.doc
< prev
next >
Wrap
Text File
|
1989-05-01
|
2KB
|
45 lines
tee 1.0
by
Eric J. Schwertfeger
Released to Public Domain on
April 20, 1989
Purpose: the purpose of tee is to allow users of WShell or AShell
(the Arp shell) to send the default input of a program to more
than one place. With a single command, the user can list a
directory and send the output to the screen, the speak: device,
the printer, and/or to a file, all at the same time.
Usage: tee [-flags] filename
The tee program reads information from the default input, and
writes it to every file on the command line. In addition to
this, the tee program will also open the CLI window ("*") if no
filenames are specified and the output is redirected.
Optional Flags: -[A|a|F|f|P|p]
The "a" flag is used to append the output to a file, though
the file need not exist already. the "f" flag is used to filter
out non-printable characters (characters with ASCII values of
0 to 9, 11 to 31, or 128 and higher). The "p" flag causes tee to
abort rather than overwrite an existing file. In each case, the
flag will affect the next file if lower case, and all following
files if Upper case. If the user wants to filter the default output
(Append and Protect have no effect), then the flags shoud be set
after the last filename.
Contacting the Author: I can be reached at either
Eric J. Schwerrtfeger
1450 E. Harmon Ave, #127D
Las Vegas, NV 89119
or
CompuServe: [72657,1166]