Description of problem: 'seq --format="%02d" 1 10' errors out Version-Release number of selected component (if applicable): coreutils-6.7-9.fc7 How reproducible: Always Steps to Reproduce: 1. seq --format="%02d" 1 10 2. 3. Actual results: seq: invalid format string: `%02d' Try `seq --help' for more information. Expected results: 01 02 03 04 05 06 07 08 09 10 Additional info:
Oops, sorry, misunderstood the man page and help text. In any case, just floating point numbers make no sense for seq(1), I've *only* used it with integers.
%02g is what you want.