Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) by www.NetBSD.org (Postfix) with ESMTP id 366D663F49D for ; Wed, 15 May 2013 11:55:25 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 150EE14A252; Wed, 15 May 2013 11:55:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 9B90014A248 for ; Wed, 15 May 2013 11:55:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id eskUS1RYCRDP for ; Wed, 15 May 2013 11:55:20 +0000 (UTC) Received: from ivanova.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id E7FD714A244 for ; Wed, 15 May 2013 11:55:20 +0000 (UTC) Received: by ivanova.netbsd.org (Postfix, from userid 500) id E39B184; Wed, 15 May 2013 11:55:20 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 15 May 2013 11:55:20 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/lang/gawk To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20130515115520.E39B184@ivanova.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: adam Date: Wed May 15 11:55:20 UTC 2013 Modified Files: pkgsrc/lang/gawk: Makefile PLIST distinfo pkgsrc/lang/gawk/patches: patch-Makefile.in Log Message: Changes from 4.0.2 to 4.1.0 --------------------------- 1. The three executables gawk, pgawk, and dgawk, have been merged into one, named just gawk. As a result: * The -R option is gone * Use -D to run the debugger. An optional file argument is a list of commands to run first. * Use -o to do pretty-printing only. * Use -p to do profiling. This considerably reduces gawk's "footprint" and eases the documentation burden as well. 2. Gawk now supports high precision arithmetic with MPFR. The default is still double precision, but setting PREC changes things, or using the -M / --bignum options. This support is not compiled in if the MPFR library is not available. 3. The new -i option (from xgawk) is used for loading awk library files. This differs from -f in that the first non-option argument is treated as a script. 4. The new -l option (from xgawk) is used for loading dynamic extensions. 5. The dynamic extension interface has been completely redone! There is now a defined API for C extensions to use. A C extension acts like a function written in awk, except that it cannot do everything that awk code can. However, this allows interfacing to any facility that is available from C. This is a major development, see the doc, which has a nice shiny new chapter describing everything. This support is not compiled in if dynamic loading of shared libraries is not supported. The old extension mechanism is still supported for compatiblity, but it will most definitely be removed at the next major release. 6. The "inplace" extension, built using the new facility, can be used to simulate the GNU "sed -i" feature. 7. The and(), or() and xor() functions now take any number of arguments, with a minimum of two. 8. New arrays: SYMTAB, FUNCTAB, and PROCINFO["identifiers"]. SYMTAB allows indirect access to any defined variable or array; it is possible to "walk" the symbol table, if that should be necessary. 9. Support for building gawk with a cross compiler has been improved. 10. Infrastructure upgrades: bison 2.7.1, gettext 0.18.2.1, automake 1.13.1, libtool 2.4.2 for the extensions. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 pkgsrc/lang/gawk/Makefile cvs rdiff -u -r1.18 -r1.19 pkgsrc/lang/gawk/PLIST cvs rdiff -u -r1.23 -r1.24 pkgsrc/lang/gawk/distinfo cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/gawk/patches/patch-Makefile.in Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.