bug-bash
[Top][All Lists]
Advanced

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

printf error?


From: Robinson, Mark
Subject: printf error?
Date: Tue, 4 Apr 2006 11:36:03 +1000

hi

Compiled bash version 3.1.16 on Solaris 9 (AIX 5.1 also shows problem)
after configuring without parameters.  Got this error:

%  ./bash --version
GNU bash, version 3.1.16(3)-release (sparc-sun-solaris2.9)
Copyright (C) 2005 Free Software Foundation, Inc.
% ./bash -c 'printf "%0.5d\n" 1'
1

I would expect:

% /bin/bash --version
GNU bash, version 3.00.16(1)-release (sparc-sun-solaris2.10)
Copyright (C) 2004 Free Software Foundation, Inc.
% /bin/bash -c 'printf "%0.5d\n" 1'
00001

Any ideas, anyone?

cheers
mark
--
Mark Robinson   
Consultant
Vignette Professional Services 
+61 2 9455 5317

In theory there is no difference between theory and practice. In
practice there is. - Yogi Berra
--
Vignette's software and expertise help organizations harness the power
of information and the Web to deliver measurable improvements in
business efficiency. Vignette is the efficiency expert. Visit
http://www.vignette.com to learn more.
 




reply via email to

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