printf %(fmt)T fails with large times in 64-bit linux.

2012-09-17 Thread Eduardo A . Bustamante López
printf %(fmt)T fails when the time given is very large in a 64-bit linux environment. Looping over the powers of two and feeding it to printf shows the error, which exits the shell with a SIGSEGV The problem seems to be in builtins/printf.def, as indicated by the backtrace attached (gdb.txt). --

Re: printf %(fmt)T fails with large times in 64-bit linux.

2012-09-17 Thread Chet Ramey
On 9/17/12 4:33 AM, Eduardo A. Bustamante López wrote: > printf %(fmt)T fails when the time given is very large in a 64-bit linux > environment. Looping over the powers of two and feeding it to printf shows > the error, which exits the shell with a SIGSEGV Thanks for the report. -- ``The lyf so

Re: square bracket vs. curly brace character ranges

2012-09-17 Thread Greg Wooledge
On Sat, Sep 15, 2012 at 06:12:24PM -0600, Bob Proulx wrote: > I don't know so I will ask. Isn't the problem endemic to glibc? Do > other libc's such as HP-UX or AIX or other have this same issue? I am > out of touch on the details of them these days. imadev:/tmp/greg$ uname -a HP-UX imadev B.10