#
7572fbf5 |
| 20-Mar-2021 |
cheusov <cheusov@NetBSD.org> |
seq.c: replace non-standard `\e` with standard compliant `\x1B`
|
#
4ccdf2cb |
| 17-Dec-2018 |
christos <christos@NetBSD.org> |
- Default terminator to \n - Don't print a trailing separator Behavior now matches GNU seq (from Aram at tech-userlevel)
|
#
e6b0a255 |
| 29-Oct-2017 |
ginsbach <ginsbach@NetBSD.org> |
The sign is optional in an exponent
Treat numbers after [Ee] as a positive number rather than an invalid numeric sequence. (Taken from FreeBSD but done differently.)
|
#
880615dc |
| 29-Oct-2017 |
ginsbach <ginsbach@NetBSD.org> |
Fix typos (from FreeBSD)
|
#
d2090f11 |
| 05-Sep-2016 |
sevan <sevan@NetBSD.org> |
Drop main() prototype.
|
#
d6986f61 |
| 27-May-2010 |
dholland <dholland@NetBSD.org> |
Rerun valid_format() both before and after unescaping the format string, in case the format string contains printf conversions assembled from escape sequences.
A better approach might be to adjust t
Rerun valid_format() both before and after unescaping the format string, in case the format string contains printf conversions assembled from escape sequences.
A better approach might be to adjust the unescape logic to avoid generating printf conversions (e.g. convert \x25 to %% instead of %) but that's somewhat problematic and it's not really worth taking the trouble.
Running valid_format() only after unescaping would also be somewhat tidier but makes printing the invalid format string problematic, because the unescape logic runs in place.
None of these cases are really worth worrying about in detail, but now at least they don't result in SIGSEGV.
Related to PR 43355.
show more ...
|
#
76c7c8ec |
| 27-May-2010 |
dholland <dholland@NetBSD.org> |
Fix valid_format() to be more careful about allowing only valid printf formats.
Also, accept %a and %A, which are new since this logic was last updated, and also allow %F even though it's not functi
Fix valid_format() to be more careful about allowing only valid printf formats.
Also, accept %a and %A, which are new since this logic was last updated, and also allow %F even though it's not functionally different from %f. Document these additions and bump date of man page.
Fixes PR 43355.
show more ...
|
#
98e5374c |
| 21-Jul-2008 |
lukem <lukem@NetBSD.org> |
Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
#
709ba647 |
| 30-Apr-2008 |
ginsbach <ginsbach@NetBSD.org> |
Remove clause 3 and 4 from TNF licenses
|
#
9470f2d1 |
| 18-Jan-2008 |
ginsbach <ginsbach@NetBSD.org> |
Fix problem with handling escaped octal and hexadecimal sequences in the -f format option. The problem is that the next character after such an escape was not copied to the output.
|
#
704c845e |
| 20-Jan-2005 |
wiz <wiz@NetBSD.org> |
Sync usage with man page.
|
#
e8c23208 |
| 20-Jan-2005 |
ginsbach <ginsbach@NetBSD.org> |
seq(1) - print sequences of numbers
|