Bug 236458 - "seq -f%1.0f" repeats wrong times
Summary: "seq -f%1.0f" repeats wrong times
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.0-RELEASE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-11 01:10 UTC by y
Modified: 2019-03-11 01:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description y 2019-03-11 01:10:20 UTC
# good
% seq -f%f 0 0.1 1 | wc -l
      11

# bad
% seq -f%1.0f 0 0.1 1 | wc -l
      12

# good on 11.2-RELEASE
% seq -f%1.0f 0 0.1 1 | wc -l
      11