Under cmd
is there a windows equivalent to the posix command cat
?
cat all by itself no filenames, no switches. I just want something that copies stdin to stdout until it hits EOF.
it's not a hard program to write, but is one provided by windows?
the answer is not necessarily a single word and is definately not type.
echo test | type
just gets me an error message
echo test | type con
hangs wainting for me to type some stuff
echo test | more
is close, but "more"` halts after one screenfull.
The reason I want this is for running a program that behaves differently when stdout is into a pipe. so I can see the output.