[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can -f of seq take an integer format?
From: |
Stephane Chazelas |
Subject: |
Re: Can -f of seq take an integer format? |
Date: |
Thu, 1 Aug 2019 22:29:57 +0100 |
User-agent: |
NeoMutt/20171215 |
2019-08-01 14:35:32 -0600, Assaf Gordon:
[...]
> FORMAT must be suitable for printing one argument of type 'double';
> it defaults to %.PRECf if FIRST, INCREMENT, and LAST are all fixed
> point decimal numbers with maximum precision PREC, and to %g
> otherwise.
>
> This makes it clear that the format must be "%f" or "%g" (and must be
> compatible with a "double" type).
> So there is no current support for integer format directly.
[...]
Or %a or %e and the uppercase variants %E %F %G %A. But in any
case, not the integer ones.
--
Stephane