[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|& in bash?
From: |
John Caruso |
Subject: |
|& in bash? |
Date: |
Thu, 17 Jan 2013 18:01:25 +0000 (UTC) |
User-agent: |
slrn/0.9.7.4 (Win32) |
One feature of other shells (e.g. zsh and tcsh) I'd really love to have
in bash is "|&", which redirects both stdout and stderr--basically just
a shortcut for "2>&1 |". Has this ever been considered for bash?
It may not seem like much of a difference, but it's saved me an enormous
numbers of keystrokes over the years. There's nothing more frustrating
in bash than getting to (or worse, just past) "|" and realizing I need
to redirect stderr as well as stdout, then cursoring back and executing
a keyboard-acrobatic "2>&1" for the zillionth time....
- John
- |& in bash?,
John Caruso <=
- Re: |& in bash?, Chet Ramey, 2013/01/17
- Message not available
- Message not available
- Re: |& in bash?, John Caruso, 2013/01/21
- Re: |& in bash?, Steven W. Orr, 2013/01/22
- Re: |& in bash?, Greg Wooledge, 2013/01/22
- Re: |& in bash?, Bob Proulx, 2013/01/22
- Re: |& in bash?, Andreas Schwab, 2013/01/22