I have a similar problem to report as Fiedler Roman regarding read and also
another problem regarding while. Maybe the while case is intended behavior
though. =)
See comments in the script below.
bash --version
GNU bash, version 4.2.39(1)-release (x86_64-redhat-linux-gnu)
Example script starts
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 keys
On 1/17/13 1:01 PM, John Caruso wrote:
> 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?
That has been in bash since bash-4.0.
Chet
In article , Chet Ramey wrote:
> On 1/17/13 1:01 PM, John Caruso wrote:
>> 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?
>
> Tha
On Thu, Jan 17, 2013 at 4:24 PM, Linus Swälas wrote:
> I have a similar problem to report as Fiedler Roman regarding read and also
> another problem regarding while. Maybe the while case is intended behavior
> though. =)
> # It the below also a bug?
>
# while can't handle nulls, this doesn't work:
this is somewhat a continuation of this thread:
http://lists.gnu.org/archive/html/bug-bash/2008-10/msg00091.html
i've gotten more or less the same report in Gentoo:
http://bugs.gentoo.org/447810
the simple test case is:
$ cat test.sh
#!/bin/bash
while :; do
(:)& (:)& (:)& (:)& (:)& (:)& (
On Monday 19 November 2012 19:46:17 Mike Frysinger wrote:
> Rather than using 1 byte reads, use the existing cache read logic.
> This could be sped up more, but this change is not as invasive and
> should (hopefully) be fairly safe.
ping ...
-mike
signature.asc
Description: This is a digitally s