Annotation of src/usr.bin/awk/FIXES, Revision 1.56
1.1 tholo 1: /****************************************************************
1.6 kstailey 2: Copyright (C) Lucent Technologies 1997
1.1 tholo 3: All Rights Reserved
4:
5: Permission to use, copy, modify, and distribute this software and
6: its documentation for any purpose and without fee is hereby
7: granted, provided that the above copyright notice appear in all
8: copies and that both that the copyright notice and this
9: permission notice and warranty disclaimer appear in supporting
1.6 kstailey 10: documentation, and that the name Lucent Technologies or any of
11: its entities not be used in advertising or publicity pertaining
12: to distribution of the software without specific, written prior
13: permission.
14:
15: LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
16: INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
17: IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY
18: SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
19: WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
20: IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
21: ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
22: THIS SOFTWARE.
1.1 tholo 23: ****************************************************************/
24:
1.51 millert 25: This file lists all bug fixes, changes, etc., made since the
26: second edition of the AWK book was published in September 2023.
1.45 millert 27:
1.56 ! millert 28: Nov 27, 2023:
! 29: Fix exit status of system on MacOS. update to REGRESS.
! 30: Thanks to Arnold Robbins.
! 31: Fix inconsistent handling of -F and --csv, and loss of csv
! 32: mode when FS is set. Thanks to Wilbert van der Poel.
! 33:
1.55 millert 34: Nov 24, 2023:
35: Fix issue #199: gototab improvements to dynamically resize the
36: table, qsort and bsearch to improve the lookup speed as the
37: table gets larger for multibyte input. thanks to Arnold Robbins.
38:
39: Nov 23, 2023:
40: Fix Issue #169, related to escape sequences in strings.
41: Thanks to Github user rajeevvp.
42: Fix Issue #147, reported by Github user drawkula, and fixed
43: by Miguel Pineiro Jr.
44:
45: Nov 20, 2023:
1.54 millert 46: rewrite of fnematch to fix a number of issues, including
47: extraneous output, out-of-bounds access, number of bytes
48: to push back after a failed match etc.
49: thanks to Miguel Pineiro Jr.
50:
1.55 millert 51: Nov 15, 2023:
1.54 millert 52: Man page edit, regression test fixes. thanks to Arnold Robbins
53: consolidation of sub and gsub into dosub, removing duplicate
54: code. thanks to Miguel Pineiro Jr.
55: gcc replaced with cc everywhere.
56:
1.53 millert 57: Oct 30, 2023:
58: multiple fixes and a minor code cleanup.
59: disabled utf-8 for non-multibyte locales, such as C or POSIX.
60: fixed a bad char * cast that causes incorrect results on big-endian
61: systems. also fixed an out-of-bounds read for empty CCL.
62: fixed a buffer overflow in substr with utf-8 strings.
63: many thanks to Todd C Miller.
64:
1.52 millert 65: Sep 24, 2023:
66: fnematch and getrune have been overhauled to solve issues around
67: unicode FS and RS. also fixed gsub null match issue with unicode.
68: big thanks to Arnold Robbins.
69:
1.51 millert 70: Sep 12, 2023:
71: Fixed a length error in u8_byte2char that set RSTART to
72: incorrect (cannot happen) value for EOL match(str, /$/).
1.50 millert 73:
1.49 millert 74:
1.51 millert 75: -----------------------------------------------------------------
1.48 millert 76:
1.51 millert 77: [This entry is a summary, not a precise list of changes.]
1.46 millert 78:
1.51 millert 79: Added --csv option to enable processing of comma-separated
80: values inputs. When --csv is enabled, fields are separated
81: by commas, fields may be quoted with " double quotes, fields
82: may contain embedded newlines.
1.46 millert 83:
1.51 millert 84: If no explicit separator argument is provided, split() uses
85: the setting of --csv to determine how fields are split.
1.44 millert 86:
1.51 millert 87: Strings may now contain UTF-8 code points (not necessarily
88: characters). Functions that operate on characters, like
89: length, substr, index, match, etc., use UTF-8, so the length
90: of a string of 3 emojis is 3, not 12 as it would be if bytes
91: were counted.
1.43 millert 92:
1.51 millert 93: Regular expressions are processes as UTF-8.
1.6 kstailey 94:
1.51 millert 95: Unicode literals can be written as \u followed by one
96: to eight hexadecimal digits. These may appear in strings and
97: regular expressions.
1.6 kstailey 98: