| 1 |
Copyright (C) 2005, 2006, 2007, 2009, 2010, 2011, 2012, 2013, 2014, 2015, |
| 2 |
2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025 |
| 3 |
Free Software Foundation, Inc. |
| 4 |
|
| 5 |
Copying and distribution of this file, with or without modification, |
| 6 |
are permitted in any medium without royalty provided the copyright |
| 7 |
notice and this notice are preserved. |
| 8 |
|
| 9 |
README: |
| 10 |
|
| 11 |
This is GNU Awk 5.3.2. It is upwardly compatible with Brian Kernighan's |
| 12 |
version of Unix awk. It is almost completely compliant with the |
| 13 |
2024 POSIX 1003 standard for awk. (See the note below about POSIX.) |
| 14 |
|
| 15 |
This is a bug-fix release. See NEWS and ChangeLog for details. |
| 16 |
|
| 17 |
Work to be done is described briefly in the TODO file, which is available |
| 18 |
only in the 'master' branch in the Git repo. |
| 19 |
|
| 20 |
Changes in this version are summarized in the NEWS file. |
| 21 |
|
| 22 |
Read the file POSIX.STD for a discussion of issues where the standard |
| 23 |
says one thing but gawk does something different. |
| 24 |
|
| 25 |
To format the documentation with TeX, use at least version 2023-09-19.19 |
| 26 |
of texinfo.tex. There is a usable copy of texinfo.tex in the doc directory. |
| 27 |
You must also use at least version 7.1 of texindex and of makeinfo |
| 28 |
from the texinfo-7.1 distribution. |
| 29 |
|
| 30 |
INSTALLATION: |
| 31 |
|
| 32 |
Check whether there is a system-specific README file for your system under |
| 33 |
the `README_d' directory. If there's something there that you should |
| 34 |
have read and didn't, and you bug me about it, I'm going to yell at you. |
| 35 |
|
| 36 |
See the file INSTALL for installation instructions. |
| 37 |
|
| 38 |
If you don't have Bison, use the awkgram.c file here. It was |
| 39 |
generated with Bison, and has no proprietary code in it. (Note that |
| 40 |
modifying awkgram.y without Bison is next to impossible. You might |
| 41 |
want to get a copy of Bison from the FSF too.) |
| 42 |
|
| 43 |
The build mechanics depend upon Bison. Also, gawk doesn't work correctly |
| 44 |
with some versions of yacc, so just use Bison. |
| 45 |
|
| 46 |
If you have an MS-DOS, or MS-Windows system, use the stuff in the `pc' |
| 47 |
directory. Similarly, there is a separate directory for VMS. |
| 48 |
|
| 49 |
Appendix B of ``GAWK: Effective Awk Programming'' discusses configuration |
| 50 |
in detail. The configuration process is based on GNU Autoconf and |
| 51 |
Automake. |
| 52 |
|
| 53 |
After successful compilation, do `make check' to run the test suite. |
| 54 |
There should be no output from the `cmp' invocations except in the |
| 55 |
cases where there are small differences in floating point values, and |
| 56 |
possibly in the case of strftime. There may be differences based on |
| 57 |
installed (or not installed) locales and the quality of multibyte |
| 58 |
character support on your system. |
| 59 |
|
| 60 |
Several of the tests ignore errors on purpose; those are not a problem. |
| 61 |
If there are other differences, please investigate and report the problem. |
| 62 |
|
| 63 |
PRINTING THE MANUAL |
| 64 |
|
| 65 |
The `doc' directory contains a recent version of texinfo.tex, which will |
| 66 |
be necessary for printing the manual. Use `make dvi' to get a DVI file |
| 67 |
from the manual. In the `doc' directory, use `make postscript' to get |
| 68 |
PostScript versions of the manual, the man page, and the reference card. |
| 69 |
Use `make pdf' to get PDF versions of the manuals, the man page and |
| 70 |
the reference card. |
| 71 |
|
| 72 |
BUG REPORTS AND FIXES (Un*x systems): |
| 73 |
|
| 74 |
Please coordinate changes through Arnold Robbins. In particular, see |
| 75 |
the section in the manual on reporting bugs. Note that comp.lang.awk |
| 76 |
is about the worst place to post a gawk bug report. So too is use of |
| 77 |
a web forum such as Stack Overflow. Please, use the mechanisms outlined |
| 78 |
in the manual. |
| 79 |
|
| 80 |
Bug reports should be submitted using the `gawkbug' script. This formats |
| 81 |
a report and sends it to [email protected]. This is a separate mailing |
| 82 |
list at GNU Central. The advantage to using this address is that bug |
| 83 |
reports are archived at GNU Central. |
| 84 |
|
| 85 |
General non-bug questions should be sent to [email protected]. |
| 86 |
|
| 87 |
Arnold Robbins |
| 88 |
|
| 89 |
BUG REPORTS AND FIXES, non-Unix systems: |
| 90 |
|
| 91 |
MS-Windows with MinGW: |
| 92 |
Eli Zaretskii |
| 93 |
[email protected] |
| 94 |
|
| 95 |
OpenVMS: |
| 96 |
John Malmberg |
| 97 |
[email protected] |
| 98 |
|
| 99 |
z/OS (OS/390) Contact: |
| 100 |
Daniel Richard G. |
| 101 |
[email protected] |