From jsg@ via upstream.
This file lists all bug fixes, changes, etc., made since the
second edition of the AWK book was published in September 2023.
+May 27, 2024
+ Spelling fixes and removal of unneeded prototypes and extern.
+ Thanks to Jonathan Gray.
+
May 4, 2024
Fixed a use-after-free bug with ARGV for "delete ARGV".
Also ENVtab is no longer global. Thanks to Benjamin Sturz
mere warnings. Thanks to Martijn Dekker <martijn@inlv.org>.
January 5, 2020:
- Fix a bug in the concatentation of two string constants into
+ Fix a bug in the concatenation of two string constants into
one done in the grammar. Fixes GitHub issue #61. Thanks
to GitHub user awkfan77 for pointing out the direction for
the fix. New test T.concat added to the test suite.
added a few (int) casts to silence useless compiler warnings.
e.g., errorflag= in run.c jump().
- added proctab.c to the bundle outout; one less thing
+ added proctab.c to the bundle output; one less thing
to have to compile out of the box.
added calls to _popen and _pclose to the win95 stub for
points are not necessarily characters.
UTF-8 sequences may appear in literal strings and regular expressions.
-Aribtrary characters may be included with `\u` followed by 1 to 8 hexadecimal digits.
+Arbitrary characters may be included with `\u` followed by 1 to 8 hexadecimal digits.
### Regular expressions ###
-/* $OpenBSD: awk.h,v 1.31 2023/11/25 16:31:33 millert Exp $ */
+/* $OpenBSD: awk.h,v 1.32 2024/06/03 00:58:04 millert Exp $ */
/****************************************************************
Copyright (C) Lucent Technologies 1997
All Rights Reserved
#define NIL ((Node *) 0)
extern Node *winner;
-extern Node *nullstat;
extern Node *nullnode;
/* ctypes */
-/* $OpenBSD: lex.c,v 1.33 2024/06/03 00:55:05 millert Exp $ */
+/* $OpenBSD: lex.c,v 1.34 2024/06/03 00:58:04 millert Exp $ */
/****************************************************************
Copyright (C) Lucent Technologies 1997
All Rights Reserved
;
unput(c);
/*
- * Next line is a hack, itcompensates for
+ * Next line is a hack, it compensates for
* unput's treatment of \n.
*/
lineno++;
-/* $OpenBSD: main.c,v 1.70 2024/05/04 22:59:21 millert Exp $ */
+/* $OpenBSD: main.c,v 1.71 2024/06/03 00:58:04 millert Exp $ */
/****************************************************************
Copyright (C) Lucent Technologies 1997
All Rights Reserved
THIS SOFTWARE.
****************************************************************/
-const char *version = "version 20240504";
+const char *version = "version 20240527";
#define DEBUG
#include <stdio.h>
-/* $OpenBSD: proto.h,v 1.24 2024/06/03 00:55:05 millert Exp $ */
+/* $OpenBSD: proto.h,v 1.25 2024/06/03 00:58:04 millert Exp $ */
/****************************************************************
Copyright (C) Lucent Technologies 1997
All Rights Reserved
extern int input(void);
extern void unput(int);
extern void unputstr(const char *);
-extern int yylook(void);
-extern int yyback(int *, int);
-extern int yyinput(void);
extern fa *makedfa(const char *, bool);
extern fa *mkdfa(const char *, bool);
extern Cell *relop(Node **, int);
extern void tfree(Cell *);
extern Cell *gettemp(void);
-extern Cell *field(Node **, int);
extern Cell *indirect(Node **, int);
extern Cell *substr(Node **, int);
extern Cell *sindex(Node **, int);