On Thursday 07 December 2006 13:00, Andres Buehlmann wrote: > Hi > > I found a problem using seq (from coreutils): > With version 6.4, I get: > > seq -w 0 0.25 1 > 0 > 0.25 > 0.5 > 0.75 > 1 > > I.e., zero padding (with decimals) doesn't work.
Read the man page: -w, --equal-width equalize width by padding with leading zeroes It says it will pad with leading zeroes. Why are you expecting it to pad with trailing zeroes? Looks like a bug in 5.94 as it is doing more than the spec says it must. Use this command: [EMAIL PROTECTED] ~ $ seq -f %.2f 0 0.25 1 0.00 0.25 0.50 0.75 1.00 alan -- gentoo-user@gentoo.org mailing list