Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16539
| Path | csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail |
|---|---|
| From | bug-bash@trodman.com |
| Newsgroups | gnu.bash.bug |
| Subject | Re: foo | tee /dev/stderr | bar # << thanks! |
| Date | Sat, 04 Jul 2020 13:42:00 -0500 |
| Lines | 28 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.965.1593888136.2574.bug-bash@gnu.org> (permalink) |
| References | <202007031432.063EWIhD3254754@epjdn.zq3q.org> <936693AC-5B43-4A84-A993-BCA6142AA381@larryv.me> <202007041842.064Ig08v3769297@epjdn.zq3q.org> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="us-ascii" |
| X-Trace | usenet.stanford.edu 1593888136 26964 209.51.188.17 (4 Jul 2020 18:42:16 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| To | bug-bash@gnu.org |
| Envelope-to | bug-bash@gnu.org |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/simple; d=trodman.com; s=myselector; t=1593888124; bh=RKGzFydrbEn7/m2IwiRwkdAZQwgteOB6JWzU/hm38dY=; h=To:From:Subject:In-reply-to:References:Date; b=TI8qdxZe3agNvpiANgPHB19lAjGMeqA4PK+L49oXM3sBM1ftae3LbrlJUd98sz6gj ai6ENYSbH2V5Va7btxbR+C/yvb5Xj24mkcJvvtKZHt5iD6QSZSWxRleTf2fZa6pCB/ 4CXLuXGPLKyp0uWFwiJNTv9jygnN4avamu+hVr7E= |
| In-reply-to | <936693AC-5B43-4A84-A993-BCA6142AA381@larryv.me> |
| Comments | In-reply-to Lawrence Velázquez <vq@larryv.me> message dated "Fri, 03 Jul 2020 14:03:20 -0400." |
| Content-ID | <3769291.1593888120.1@epjdn.zq3q.org> |
| Received-SPF | pass client-ip=71.19.154.70; envelope-from=bug-bash@trodman.com; helo=xklwu.xen.prgmr.com |
| X-detected-operating-system | by eggs.gnu.org: First seen = 2020/07/04 14:42:04 |
| X-ACL-Warn | Detected OS = Linux 3.1-3.10 |
| X-Spam_score_int | -20 |
| X-Spam_score | -2.1 |
| X-Spam_bar | -- |
| X-Spam_report | (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN |
| X-Spam_action | no action |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.23 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <https://lists.gnu.org/archive/html/bug-bash> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <202007041842.064Ig08v3769297@epjdn.zq3q.org> |
| X-Mailman-Original-References | <202007031432.063EWIhD3254754@epjdn.zq3q.org> <936693AC-5B43-4A84-A993-BCA6142AA381@larryv.me> |
| Xref | csiph.com gnu.bash.bug:16539 |
Show key headers only | View raw
Hi Lawrence:
On Fri 7/3/20 14:03 -0400 =?utf-8?Q?Lawrence_Vel=C3=A1zquez?= wrote:
>What's wrong with `foo | tee /dev/stderr | bar`?
Perfect!
This morning I had thought of
foo | tee >(cat >&2) | bar
but your soln is simplier. I assume /dev/stderr is on non linux UNIX
also.
--
thanks-you!,
Tom
--
$ seq 5 | tee /dev/stderr |tail -2
1
2
3
4
5
4
5
Back to gnu.bash.bug | Previous | Next | Find similar
Re: foo | tee /dev/stderr | bar # << thanks! bug-bash@trodman.com - 2020-07-04 13:42 -0500
csiph-web