[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] How to create a real copy of file descriptors stdout / s
From: |
Greg Wooledge |
Subject: |
Re: [Help-bash] How to create a real copy of file descriptors stdout / stderr? |
Date: |
Mon, 27 Feb 2017 15:16:15 -0500 |
User-agent: |
Mutt/1.4.2.3i |
On Mon, Feb 27, 2017 at 07:57:00PM +0000, Patrick Schleizer wrote:
> Patrick Schleizer:
> > unbuffer apt-get "$@" 1> >(tee -a "$logfile") 2> >(tee -a "$logfile" >&2)
>
> Could we even use
> &>
> ?
In a previous email, he said it was *noninteractive*. So why not just
do:
unbuffer apt-get blah 2>&1 | tee -a logfile
Since both stdout and stderr are going to the same logfile, keep it
simple.
I don't even know whether apt-get needs unbuffer in the first place.
You could try leaving it out.
- [Help-bash] How to create a real copy of file descriptors stdout / stderr?, Patrick Schleizer, 2017/02/26
- Re: [Help-bash] How to create a real copy of file descriptors stdout / stderr?, João Eiras, 2017/02/27
- Re: [Help-bash] How to create a real copy of file descriptors stdout / stderr?, Patrick Schleizer, 2017/02/27
- Re: [Help-bash] How to create a real copy of file descriptors stdout / stderr?, João Eiras, 2017/02/27
- Re: [Help-bash] How to create a real copy of file descriptors stdout / stderr?, Patrick Schleizer, 2017/02/27
- Re: [Help-bash] How to create a real copy of file descriptors stdout / stderr?, João Eiras, 2017/02/27
- Re: [Help-bash] How to create a real copy of file descriptors stdout / stderr?, Patrick Schleizer, 2017/02/28
- Re: [Help-bash] How to create a real copy of file descriptors stdout / stderr?, Branden Robinson, 2017/02/28
- Re: [Help-bash] How to create a real copy of file descriptors stdout / stderr?, Greg Wooledge, 2017/02/28
Message not available
Re: [Help-bash] How to create a real copy of file descriptors stdout / stderr?, Greg Wooledge, 2017/02/27