`tee` command equivalent for *input*?
问题 The unix tee command splits the standard input to stdout AND a file. What I need is something that works the other way around, merging several inputs to one output - I need to concatenate the stdout of two (or more) commands. Not sure what the semantics of this app should be - let's suppose each argument is a complete command. Example: > eet "echo 1" "echo 2" > file.txt should generate a file that has contents 1 2 I tried > echo 1 && echo 2 > zz.txt It doesn't work. Side note: I know I could