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 - specify field width for zero padded output in seq
Summary: specify field width for zero padded output in seq
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: sh-utils
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-11-03 18:59 UTC by Jim Wright
Modified: 2007-04-18 16:48 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-11-03 18:59:44 UTC


Attachments (Terms of Use)

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



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