Contents | < Browse | Browse >
The standard redirection operators are supported for all internal
commands, as well as disk based and resident programs. (Redirection only
affects those programs which use the dos.library's Input() and Output()
functions.)
>filename redirect std output
<filename redirect std input
>>filename append redirect output (tacks output onto the end of file)
<>filename redirect input and output
>M view output with MORE after the command has ended,
you need a review-buffer for that which is big enough,
otherwise some of the output will be swallowed.
<W >W <>W opens a window and inputs/outputs there.
<* >* <>* redirection to current window (rarely used)
If you do not give a filename, input/output will be redirected to NIL:
Redirection can be placed before, between and after arguments and has
the same effect for all three cases.
Note that pipes are some kind of redirection.
eg. dir >ram:directory df0:c
type zshell.doc <raw:0/0/100/100/input >raw:0/0/640/100/output
sortfile things >>df0:things.log
list >m df0: {view output with more}
copy > df0: ram: {redirects to NIL: , no output !}
type S:Startup-sequence >W {outputs on own window}