Say I run seq 4000000 4100000, I want seq print the numbers, as quoted from the man page, from first (default 1), to near last as possible. Just like the GNU seq does.But the output of my command is 4e+064e+064e+064e+064e+064.00000e+064.00001e+06I want it to be400000040000014000002etc.40999994100000I thought that maybe -w could fix it but I am not sure what input to give it, giving it no input makes the output the same.
How do I make BSD seq not output + and e when using large numbers?
osx;bsd;seq
So you want to display the results without scientific notation? Try this:seq -f %.0f 4000000 4100000So I'm actually changing the format (using -f) into a floating-point format with 0 decimal places (%.0f)On my Mac this results in:4000000400000140000024000003etc.4099997409999840999994100000