| bio | website | keymon.wordpress.com |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 1 year, 8 months |
| seen | Jan 2 at 21:35 | |
| stats | profile views | 0 |
|
Oct 20 |
comment |
Force bash script to use tee without piping from the command line Really cool. I tested this on Solaris with bash 3.00.16 and it works. You can also use this to keep both stderr and stdout output in the script, and write everything to the same file. You spawn 2 tee in this case: exec > >(tee -a test.sh.$$.log); exec 2> >(tee -a test.sh.$$.log 1>&2) |