|
From: | Christof Warlich |
Subject: | Re: [Help-bash] shell redirection |
Date: | Thu, 20 Oct 2016 18:15:29 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
Hi Russ, > { echo "fred"; echo "wilma" 1>&2; } 2> >(tee -a logfile) 1>>logfilethanks a lot, that's cool :-). And it serves my purpose amazingly well, even with sporadic line sequence issue. And anyhow, so far, I only occasionally see lines being out of sequence when using builtin shell commands like echo, and that's not an issue anyway in my use-case.
Cheers, Chris
[Prev in Thread] | Current Thread | [Next in Thread] |