Annotation of src/usr.bin/awk/FIXES, Revision 1.51
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.51 ! millert 28: Sep 12, 2023:
! 29: Fixed a length error in u8_byte2char that set RSTART to
! 30: incorrect (cannot happen) value for EOL match(str, /$/).
1.50 millert 31:
1.49 millert 32:
1.51 ! millert 33: -----------------------------------------------------------------
1.48 millert 34:
1.51 ! millert 35: [This entry is a summary, not a precise list of changes.]
1.46 millert 36:
1.51 ! millert 37: Added --csv option to enable processing of comma-separated
! 38: values inputs. When --csv is enabled, fields are separated
! 39: by commas, fields may be quoted with " double quotes, fields
! 40: may contain embedded newlines.
1.46 millert 41:
1.51 ! millert 42: If no explicit separator argument is provided, split() uses
! 43: the setting of --csv to determine how fields are split.
1.44 millert 44:
1.51 ! millert 45: Strings may now contain UTF-8 code points (not necessarily
! 46: characters). Functions that operate on characters, like
! 47: length, substr, index, match, etc., use UTF-8, so the length
! 48: of a string of 3 emojis is 3, not 12 as it would be if bytes
! 49: were counted.
1.43 millert 50:
1.51 ! millert 51: Regular expressions are processes as UTF-8.
1.6 kstailey 52:
1.51 ! millert 53: Unicode literals can be written as \u followed by one
! 54: to eight hexadecimal digits. These may appear in strings and
! 55: regular expressions.
1.6 kstailey 56: