In bash, I could `ret=command 2>&1 | tee log`. Then judging from $ret, following script to deal with log or not. But in fish, $ret is the output of command. And after the whole command, $status is the status of `tee`. What should I do?
Activity
ridiculousfish commentedon Jul 3, 2013
Current thinking is to just make this the default. See #763.
Any objection to closing as a duplicate of that?
Magicloud commentedon Jul 3, 2013
Nop, I will comment in that thread.