[Bug 217149] seq(1) inconsistently omits 'last' when using float increment

2018-02-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149 Conrad Meyer changed: What|Removed |Added Assignee|freebsd-bugs@FreeBSD.org|c...@freebsd.org

[Bug 217149] seq(1) inconsistently omits 'last' when using float increment

2018-02-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149 Conrad Meyer changed: What|Removed |Added Resolution|--- |FIXED

[Bug 217149] seq(1) inconsistently omits 'last' when using float increment

2018-02-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149 --- Comment #18 from fernando.apesteg...@gmail.com --- (In reply to Conrad Meyer from comment #17) Yes, that's where I got the idea from after playing (unsuccessfully) with the numbers. -- You are receiving this mail because: You are the

[Bug 217149] seq(1) inconsistently omits 'last' when using float increment

2018-02-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149 --- Comment #17 from Conrad Meyer --- Ok, GNU seq basically takes the same approach as your comment #4 patch. So I've come around to that. -- You are receiving this mail because: You are the assignee for the bug.

[Bug 217149] seq(1) inconsistently omits 'last' when using float increment

2018-02-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149 --- Comment #16 from fernando.apesteg...@gmail.com --- (In reply to Conrad Meyer from comment #15) I tried to pre-calculate the number of steps and iterate regardless of the cur<=last condition but it doesn't work either. I can't see how

[Bug 217149] seq(1) inconsistently omits 'last' when using float increment

2018-02-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149 --- Comment #15 from Conrad Meyer --- (In reply to Conrad Meyer from comment #14) Hm, no, that's still wrong. -- You are receiving this mail because: You are the assignee for the bug.

[Bug 217149] seq(1) inconsistently omits 'last' when using float increment

2018-02-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149 --- Comment #14 from Conrad Meyer --- (In reply to fernando.apesteguia from comment #12) > cur >= last - (incr / 2); This one should also be plus. > The problem with this one is that in some cases, we are not stopping

[Bug 217149] seq(1) inconsistently omits 'last' when using float increment

2018-02-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149 --- Comment #13 from fernando.apesteg...@gmail.com --- Created attachment 190999 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=190999=edit seq output for new approach with cur <= last + (incr / 2) -- You are receiving this

[Bug 217149] seq(1) inconsistently omits 'last' when using float increment

2018-02-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149 --- Comment #12 from fernando.apesteg...@gmail.com --- (In reply to Conrad Meyer from comment #11) OK, this is the new approach: Index: seq.c === --- seq.c (revisiĆ³n:

[Bug 217149] seq(1) inconsistently omits 'last' when using float increment

2018-02-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149 --- Comment #11 from Conrad Meyer --- (In reply to fernando.apesteguia from comment #10) > Do you mean something like this? Oh, sorry, I meant (incr/2) not (step/2). And also for the negative incr case, of course. But

[Bug 217149] seq(1) inconsistently omits 'last' when using float increment

2018-02-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149 --- Comment #10 from fernando.apesteg...@gmail.com --- (In reply to Conrad Meyer from comment #9) Do you mean something like this? Index: seq.c === --- seq.c (revisiĆ³n:

[Bug 217149] seq(1) inconsistently omits 'last' when using float increment

2018-02-25 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149 Conrad Meyer changed: What|Removed |Added CC||c...@freebsd.org

[Bug 217149] seq(1) inconsistently omits 'last' when using float increment

2018-02-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149 --- Comment #8 from fernando.apesteg...@gmail.com --- With the last patch we generate the same output as in Ubuntu with seq from CoreUtils 8.25 The main difference is that we don't add irrelevant zeros to the right as in 2 vs 2.0 -- You

[Bug 217149] seq(1) inconsistently omits 'last' when using float increment

2018-02-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149 --- Comment #6 from fernando.apesteg...@gmail.com --- Created attachment 190657 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=190657=edit seq output from FreeBSD current seq output generated in FreeBSD current with patches

[Bug 217149] seq(1) inconsistently omits 'last' when using float increment

2018-02-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149 --- Comment #7 from fernando.apesteg...@gmail.com --- Created attachment 190658 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=190658=edit seq output generator generator of different seq executions. -- You are receiving this

[Bug 217149] seq(1) inconsistently omits 'last' when using float increment

2018-02-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149 --- Comment #5 from fernando.apesteg...@gmail.com --- Created attachment 190656 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=190656=edit seq output from ubuntu Output generated in an Ubuntu system -- You are receiving this

[Bug 217149] seq(1) inconsistently omits 'last' when using float increment

2018-02-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149 Mark Linimon changed: What|Removed |Added Keywords||patch -- You

[Bug 217149] seq(1) inconsistently omits 'last' when using float increment

2018-02-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149 fernando.apesteg...@gmail.com changed: What|Removed |Added CC|

[Bug 217149] seq(1) inconsistently omits 'last' when using float increment

2018-01-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149 Jilles Tjoelker changed: What|Removed |Added CC|

[Bug 217149] seq(1) inconsistently omits 'last' when using float increment

2018-01-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149 Yuri Pankov changed: What|Removed |Added Attachment #189755|0 |1 is

[Bug 217149] seq(1) inconsistently omits 'last' when using float increment

2018-01-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149 Yuri Pankov changed: What|Removed |Added CC||yur...@icloud.com

[Bug 217149] seq(1) inconsistently omits 'last' when using float increment

2017-02-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149 Bug ID: 217149 Summary: seq(1) inconsistently omits 'last' when using float increment Product: Base System Version: 11.0-STABLE Hardware: Any OS: Any