2015-06-08 07:28:25 +0800, 積丹尼 Dan Jacobson:
On (info (coreutils) seq invocation) perhaps mention if one needs to
use two % items, a for loop might be required,
$ for i in `seq 14484 1 34484`; do printf %d=0x%x\\n $i $i; done
14484=0x3894
24484=0x5fa4
34484=0x86b4
[...]
Running
Actually it would be great if one could just do
seq -f %d=0x%x 14484 1 34484
where seq could just take the standard printf arguments, and % could be
used more than once, as I don't think it could mean any second argument...
On (info (coreutils) seq invocation) perhaps mention if one needs to
use two % items, a for loop might be required,
$ for i in `seq 14484 1 34484`; do printf %d=0x%x\\n $i $i; done
14484=0x3894
24484=0x5fa4
34484=0x86b4