onetrueawk
52ef99e310
Merge pull request #15 from melloc/fmt-overflow
...
Protect against overflowing during OFMT/CONVFMT conversions
2019-01-21 14:03:38 -05:00
onetrueawk
611f775d8d
Merge branch 'master' into fmt-overflow
2019-01-21 14:02:18 -05:00
onetrueawk
3222d96844
Merge branch 'master' into assign-expr
2019-01-21 14:00:32 -05:00
onetrueawk
40b9214d2a
Merge pull request #14 from melloc/missing-precision
...
Check for format character precision argument before using it
2019-01-21 13:46:44 -05:00
onetrueawk
c3e17cc1c7
Merge pull request #13 from arnoldrobbins/master
...
Fix REGRESS so all tests run on Mac OS X.
2019-01-21 13:41:41 -05:00
Christoph Junghans
e4bb3bcbf0
fixed parallel build
...
Signed-off-by: Christoph Junghans <junghans@gentoo.org>
2018-12-30 09:04:34 -07:00
Cody Peter Mello
7580235939
Fix initial "fields" buffer size
2018-11-12 10:34:19 -08:00
Cody Peter Mello
a6392ef31c
Fix regular expressions containing [[:cntrl:]]
2018-11-12 10:25:44 -08:00
Brian Kernighan
e8c280034f
fix maketab non-bug
2018-10-25 13:28:54 -04:00
Cody Peter Mello
9b093ea2d0
Flags that begin with "--" should not be treated as end of args
2018-10-09 11:46:57 -07:00
Cody Peter Mello
179536a516
Print an error message for negative NF values
2018-09-25 21:19:49 -07:00
Cody Peter Mello
6315525dbe
Rebuild fields when NF is assigned to itself
2018-09-23 17:59:52 -07:00
Cody Peter Mello
52566c0aa4
Handle numeric FS, RS, OFS, and ORS values
2018-09-23 17:35:45 -07:00
Cody Peter Mello
6fe0a049bb
Improve error reporting messages
2018-09-21 11:16:27 -07:00
Cody Peter Mello
d45db5e9d8
Fix calling split() with a third argument that lives in the target array
2018-09-18 15:20:44 -07:00
Cody Peter Mello
97a4b7ed21
Fix issues with numeric SUBSEP and large SUBSEP values
2018-09-17 11:59:04 -07:00
Cody Peter Mello
e26237434f
Fix issues with assigning during concatenation
2018-09-15 01:43:21 -07:00
Cody Peter Mello
e059b3b197
Protect against overflowing during OFMT/CONVFMT conversions
2018-09-14 19:56:34 -07:00
Cody Peter Mello
6cf37e9d15
Check for format character precision argument before using it
2018-09-14 17:34:17 -07:00
Arnold D. Robbins
40c6916307
Fix REGRESS so all tests run on Mac OS X.
2018-08-29 21:18:21 +03:00
Leonardo Taccari
05014f5b9e
avoid undefined behaviour when using ctype(3) functions in relex()
...
Because NCHARS is (256+3) cc->cc_func(i) was called with 256, 257
and 258 as argument leading to possible undefined behaviour (at
least on NetBSD with non-C locale (e.g. `en_US.UTF-8') this led to
only honoring one `[:...:]' character class in bracket expressions).
Fix #11
2018-08-29 18:06:33 +02:00
onetrueawk
2dc7e5ff1a
Merge pull request #9 from atsampson/master
...
makefile fixes: allow parallel make and work with pmake
2018-08-28 16:05:48 -04:00
Adam Sampson
9a4aa89176
Fix ytab.[ch] dependencies to allow parallel make.
...
The old ytab.o rule produced ytab.c and ytab.h too, but this wasn't
visible as dependencies, so make -j would fail. Make this explicit, and
use the implicit .c.o rule rather than writing out the $(CC) command.
2018-08-27 20:28:29 +01:00
Adam Sampson
837b8da3a5
Fix comment syntax for pmake.
...
GNU make is happy with leading tabs before a comment, but pmake says
"Unassociated shell command".
2018-08-27 20:27:34 +01:00
Brian Kernighan
1d9d86418a
forgot to update version string
2018-08-27 08:58:33 -04:00
Brian Kernighan
22aff9e657
disallow $ in printf formats
2018-08-27 08:52:34 -04:00
Brian Kernighan
0f4e1ba922
added Arnold's fixes, updates to awktest.tar
2018-08-24 09:09:59 -04:00
onetrueawk
b619480f94
Merge pull request #8 from arnoldrobbins/master
...
Fix multiple long-standing bugs, improve test suite.
2018-08-23 08:14:25 -04:00
Arnold D. Robbins
32093f5bbf
Fix multiple long-standing bugs, improve test suite.
2018-08-22 20:40:26 +03:00
Brian Kernighan
ba7569c255
FIXES, makefile, REGRESS to smooth out base for Arnold
2018-08-16 09:41:13 -04:00
Brian Kernighan
1eef717cd2
update awktest.tar with proper beebe,lilly tests
2018-08-15 15:43:28 -04:00
Brian Kernighan
3ed9e245db
set baseline so Arnold can send pull request
2018-08-15 10:45:03 -04:00
Brian Kernighan
2af1c7c658
awktest.tar added; .ar files work poorly
2017-02-15 19:16:44 -05:00
Brian Kernighan
e37f882d72
should have been in initial list
2012-12-22 10:46:35 -05:00
Brian Kernighan
87b94932e6
initial commit for github
2012-12-22 10:35:39 -05:00