GNU bug report logs - #12482
Feature Request: support for int, octal, and hex types in seq --format

Previous Next

Package: coreutils;

Reported by: Craig Sanders <cas <at> taz.net.au>

Date: Fri, 21 Sep 2012 01:06:02 UTC

Severity: wishlist

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Craig Sanders <cas <at> taz.net.au>
To: submit <at> debbugs.gnu.org
Subject: Feature Request: support for int, octal, and hex types in seq --format
Date: Fri, 21 Sep 2012 10:37:11 +1000
Package: Coreutils
Severity: wishlist

seq only supports floating point types like f and g in the --format string.

Other types, including i,d,o,u,x,X would also be useful.

e.g. "seq --format 'prefix%02isuffix' 1 50" to print zero-padded 1-50 with
user-specified prefix and suffix strings.

see
http://unix.stackexchange.com/questions/48750/creating-numerous-directories-using-mkdir/48758#48758
for a real-world usage example.


Thanks,

craig

-- 
craig sanders <cas <at> taz.net.au>




This bug report was last modified 12 years and 277 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.