bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Built-in printf Sits Awkwardly with UDP.


From: Ralph Corderoy
Subject: Re: Built-in printf Sits Awkwardly with UDP.
Date: Wed, 20 Jul 2011 17:42:47 +0100

Hi Eric,

> >      $ printf '%-9223372036854775808s.\n' foo
> >      foo.
> >      $
> 
> Coreutils' printf shares this misfortune.  Sadly, it might even be a
> bug in the underlying glibc printf(), although I haven't tried to
> write a test program to check that, yet.

OK, well for %b and %q bash's built-in printf calls it's own printstr()
and that does do things like `fw = -fw' without checking if fw was
already the largest negative.

Cheers, Ralph.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]