Bug 77227 - specify field width for zero padded output in seq
Summary: specify field width for zero padded output in seq
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: sh-utils   
(Show other bugs)
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Ben Levenson
URL:
Whiteboard:
Keywords: FutureFeature
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:
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: ---


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.