[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Can -f of seq take an integer format?
From: |
Peng Yu |
Subject: |
Can -f of seq take an integer format? |
Date: |
Thu, 1 Aug 2019 15:07:29 -0500 |
Hi,
I only find %.0f to print integers. But it is just a float with no
digits after the point. Is there a real integer format in seq? Thanks.
$ seq -f '%.0f minutes' 2563199 2563200
2563199 minutes
2563200 minutes
$ seq -f '%g minutes' 2563199 2563200
2.5632e+06 minutes
2.5632e+06 minutes
2.5632e+06 minutes
$ seq -f '%d minutes' 2563199 2563200
seq: format ‘%d minutes’ has unknown %d directive
--
Regards,
Peng
- Can -f of seq take an integer format?,
Peng Yu <=