https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149
Conrad Meyer changed:
What|Removed |Added
Resolution|--- |FIXED
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
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.
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
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.
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
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
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:
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
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:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149
Conrad Meyer changed:
What|Removed |Added
CC||c...@freebsd.org
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
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
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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149
Mark Linimon changed:
What|Removed |Added
Keywords||patch
--
You
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149
fernando.apesteg...@gmail.com changed:
What|Removed |Added
CC|
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149
Jilles Tjoelker changed:
What|Removed |Added
CC|
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149
Yuri Pankov changed:
What|Removed |Added
Attachment #189755|0 |1
is
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217149
Yuri Pankov changed:
What|Removed |Added
CC||yur...@icloud.com
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
20 matches
Mail list logo