Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 77227

Summary: specify field width for zero padded output in seq
Product: [Retired] Red Hat Linux Reporter: Jim Wright <jwright>
Component: sh-utilsAssignee: Tim Waugh <twaugh>
Status: CLOSED CURRENTRELEASE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-11-03 18:59:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Jim Wright 2002-11-03 18:59:37 UTC
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 19:03:48 UTC
oops, already there.

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