Observe that this produces integers:
$ seq 74999998 75000000
74999998
74999999
75000000
While this produces floating point numbers:
$ seq -f '%.5g' 74999998 75000000
7.5e+07
7.5e+07
7.5e+07
The output format of seq
is controlled by the -f
options.
How is the -f
option being applied in your case? One possibility is that your shell has an alias defined for seq
that applies this option. For example:
$ alias seq="seq -f '%.5g'"
$ seq 74999998 75000000
7.5e+07
7.5e+07
7.5e+07
You can determine if this is the case by running bash's builtin type
command:
$ type seq
seq is aliased to `seq -f '%.5g''
Documentation
From man seq
:
-f, --format=FORMAT
use printf style floating-point FORMAT