My env: zsh, macOS
Command in concern:
echo 'hi' | tee > a b cecho 'hi' > a b c
- Command 1 creates files named
a,bandcwith contenthi. - Command 2 creates a file named
awith contenthi b c.
AFAIK, only the usage of Command 1 without > is documented in the manpage of tee:
echo 'hi' | tee a b c
I want some help to understand why adding > the above code(i.e., Command 1) still creates multiple files, whereas Command 2 creates only one file.