The following commands causes bash 2.05 to seg fault:
printf "%*s\n" 0 hello
printf "%.*g\n" 0 .1
Presumably, 0 is used internally to indicate when the width or precision
were specified with numbers instead of `*' and it is now calling
printf(3) without the extra parameter.
The printf in GNU sh-utils has a similar bug with a negative instead of
zero number but I've sent a separate report to them.
Please Cc me in any replies as I don't subscribe to this list.
Oliver Kiddle
_____________________________________________________________________
This message has been checked for all known viruses by the
MessageLabs Virus Scanning Service. For further information visit
http://www.messagelabs.com/stats.asp