Bug 77227 - specify field width for zero padded output in seq
specify field width for zero padded output in seq
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: sh-utils (Show other bugs)
7.3
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Ben Levenson
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-11-03 13:59 EST by Jim Wright
Modified: 2007-04-18 12:48 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-11-03 13:59:44 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jim Wright 2002-11-03 13:59:37 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Description of problem:
"seq -w" will zero pad the output to the width of the widest natural output.  It
would be nice to also be able to specify the width desired.  For example,

% seq -W 4 9 10
0009
0010

Version-Release number of selected component (if applicable):
sh-utils-2.0.11-5.src.rpm


How reproducible:
Always

Steps to Reproduce:
1. seq -w
	

Additional info:
Comment 1 Jim Wright 2002-11-03 14:03:48 EST
oops, already there.

% seq --format="%04g" 9 10
0009
0010

Note You need to log in before you can comment on or make changes to this bug.