|
From: | João Eiras |
Subject: | Re: [Help-bash] How to create a real copy of file descriptors stdout / stderr? |
Date: | Mon, 27 Feb 2017 13:30:13 +0100 |
Why not just... $ unbuffer apt-get "$@" > 1> >(tee -a ) 2> >(tee -a "$logfile" >&2) however, you should be careful having two tee instances writting to the same file. Surely you want separate log files for each file descriptor ?
[Prev in Thread] | Current Thread | [Next in Thread] |