In a Unix environment, I want to use teethe following commands in a chain:
$ echo 1; echo 2 | tee file
1
2
$ cat file
2
Why filedoes it end up with a way out of the last team?
For the purposes of this discussion, suppose I cannot break them apart and execute the commands separately.
Mike source
share