Skip to Content
gnux

-f, --format

Use printf style floating-point FORMAT.

An option of seqx.

Usage

seqx -f FORMAT [FIRST [INCREMENT]] LAST
seqx --format=FORMAT [FIRST [INCREMENT]] LAST

Details

ShortLongValueDefaultMeaning
-f--formatFORMATuse printf style floating-point FORMAT

Examples

Format each number with a prefix and fixed precision

seqx -f 'item-%03.0f' 1 3
seqx -f '%.0f%%' 0 25 100

Help in the terminal

gnux help seqx --format

On this page