On Windows, I believe the equivalent to your Unix command would be:type *.log > result
No, it is not. type treats Ctrl-Z (ASCII 26) as end-of-file marker. cat writes its entire input to STDOUT. cat can handle binary files, type can't.
X:\>perl -E "say qq[Hello\cZWorld!]" > foo X:\>type foo Hello X:\>perl -pe 1 < foo Hello→World! X:\>
Alexander
In reply to Re^4: read files one by one in directory and redirct output to a file
by afoken
in thread read files one by one in directory and redirct output to a file
by TonyNY
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |