./lang/mawk, AWK clone by Mike Brennan

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version:, Package name: mawk-, Maintainer: cheusov

Mike Brennan's awk clone.
It's fast (faster than gawk), and relatively small.

Required to build:

Master sites:

SHA1: 06bae1055464c86c6f679a28e61626ed80f579c4
RMD160: 1c2d5dbcf0f3e69177c3039d6b702d9725040462
Filesize: 450.019 KB

Version history: (Expand)

CVS history: (Expand)

   2019-06-22 13:37:14 by Nia Alarie | Files touched by this commit (9)
Log message:
Use https for all invisible-island.net HOMEPAGEs.
   2019-02-15 20:51:43 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
	+ add Debian compile/link flags to test-package.
	+ cleanup spurious warnings from latest gcc.
	+ changes for Original-Mawk #48:
	  + add checks for stack overflow and underflow
	  + increase stack limit to 1024
	+ updated configure macros
	+ update config.guess and config.sub

	+ add runtime check for assignments to OFMT and CONVFMT to ensure
	  they use a single parameter (Original-Mawk #47).
	+ repair build for --with-valgrind, broken in 20160930 const-fixes.

	+ correct sign-extension from 20160615 change to rand() (report by
	  Christian Neukirchen).

	+ optimize closes on regular expressions to filter out redundant
	  wildcards, fixing a special case leftover by changes in 20100224
	  (Original-Mawk #34).
	+ add regular-expressions to the -Wdump option when using mawk's
	  built-in regular expressions.
	+ fix a sign-extension in character-class parser (Original-Mawk #46).
	+ minor optimizations.
	+ improve use of const in tables.

	+ allow single-quote as a flag in printf, to complete the change
	  for LC_NUMERIC in 20121129 (report by Graham Monteith).
	+ revert one of the fixes made for a Coverity warning about loss of
	  precision in 20121209, which unnecessarily exposed a different
	  problem (Original-Mawk #45).

	+ simplify "system()" function by calling C "system()" \ 
function, and
	  use POSIX macros for wait-status to provide a less-ambiguous return
	  value (suggested by Aharon Robbins).
	+ add a null-pointer check in bi_mktime (patch by Ismael Luceno).

	+ escape '/' in range for test/reg4.awk to allow test-comparison with
	  gawk and BWK.
	+ updated configure macros, e.g., for compiler warnings and static
	  + CF_RAND
	+ minor build-fix for HPUX 11.11 "make", which is confused by the
	  recursive use of "make" in clean/distclean rules.
	+ amend fix for Gentoo #424137 to eliminate a memory leak when opening
	  files (Original-Mawk #44).
	+ update config.guess and config.sub

	+ correct range when using system rand() function, which was 0..2
	  rather than 0..1 on BSD systems (report/patch by Masaki Waga).

	+ correct order of checks for machine state in REtest which caused an
	  out-of-bounds reference (Original-Mawk #36).

	+ update COPYING from
	  (Original-Mawk #38).
	+ minor updates to configure script macros
	+ update config.guess and config.sub
   2016-02-25 15:42:57 by Jonathan Perkin | Files touched by this commit (33)
Log message:
   2015-11-03 23:50:46 by Alistair G. Crooks | Files touched by this commit (194)
Log message:
Add SHA512 digests for distfiles for lang category

Problems found with existing digests:
	Package nhc98 distfile nhc98src-1.22.tar.gz
	a8adc8f22371998ee0657bc0e01058a57d876abc [recorded]
	81975fcb5f1dda5efeaabc30ce8c6dceae55e591 [calculated]

Problems found locating distfiles:
	Package gcc-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2
	Package ghc7: missing distfile ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz
	Package icc11: missing distfile l_cproc_p_11.1.080.tgz
	Package jini: missing distfile jini-1_2_1_001-src.zip
	Package oo2c: missing distfile oo2c_32-2.0.11.tar.bz2
	Package openjdk7: missing distfile \ 
	Package openjdk7: missing distfile \ 
	Package openjdk7: missing distfile \ 
	Package openjdk7: missing distfile \ 
	Package openjdk7: missing distfile \ 
	Package openjdk7: missing distfile \ 
	Package openjdk8: missing distfile \ 
	Package openjdk8: missing distfile \ 
	Package openjdk8: missing distfile \ 
	Package openjdk8: missing distfile \ 
	Package openjdk8: missing distfile \ 
	Package openjdk8: missing distfile \ 
	Package oracle-jdk8: missing distfile jdk-8u60-linux-i586.tar.gz
	Package oracle-jdk8: missing distfile jdk-8u60-solaris-x64.tar.gz
	Package oracle-jre8: missing distfile jre-8u60-linux-i586.tar.gz
	Package oracle-jre8: missing distfile jre-8u60-solaris-x64.tar.gz
	Package sun-jdk6: missing distfile jdk-6u45-linux-i586.bin
	Package sun-jdk6: missing distfile jdk-6u45-solaris-i586.sh
	Package sun-jdk7: missing distfile jdk-7u72-linux-i586.tar.gz
	Package sun-jdk7: missing distfile jdk-7u72-solaris-i586.tar.gz
	Package sun-jre6: missing distfile jce_policy-6.zip
	Package sun-jre6: missing distfile jre-6u45-linux-x64.bin
	Package sun-jre6: missing distfile jre-6u45-solaris-x64.sh
	Package sun-jre7: missing distfile jre-7u72-linux-i586.tar.gz
	Package sun-jre7: missing distfile jre-7u72-solaris-i586.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-05-12 16:00:22 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to

Upstream changes:
	+ add --with-man2html configure option
	+ improve description of -W options and how they can be combined into
	  a comma-separated list (adapted from Leif LeBaron).
	+ modify parsing for -Wexec to permit its value to be separated by '='
	  in addition to a space, for consistency with the other -W options.
	+ cosmetic changes to configure script macros, from work on xterm.
	+ update config.guess and config.sub

	+ Mawk behaves incorrectly when using the nextfile statement.  It marks
	  the file as dead, but does not check such state and thus ends reading
	  from a closed fd (patch by Ismael Luceno).

	+ remove a special check for anchored regular expressions in gsub3
	  which did not handle expressions with "|" alternation (report by

	+ rename vs6.mak / vs6.h to vs2008 for Visual Studio 2008 compiles.
	+ remove MS-DOS support.
	+ add a check in split for empty regex, treating that the same as an
	  empty string (Original-Mawk #9).
	+ correct inconsistently-ifdef'd reset of errno in check_strnum()
	  function, which caused some values to be internally classified as
	  strings rather than strnums (Original-Mawk #26).
	+ add parameter to REmatch to control use of REG_NOTBOL and its
	  equivalent in mawk (prompted by discussion with Mike Brennan,
	  Original-Mawk #24).
	+ settle on "gsub3" implementation (suggested by Mike Brennan,
	  Original-Mawk #11).
	+ change default for configure option --enable-init-srand to enable
	  this (discussion with Mike Brennan).
	+ add -W random option to set initial srand() seed.
	+ add TraceVA, use to provide debug-traces for errmsg().
	+ add note in manpage about "nextfile", see for example:
	+ make it possible to build with "bsd" library ported to Linux by
	  setting LIBS=-lbsd before running configure script.
	+ show random-function names in version message, as well as maximum
	+ modify initialization of srand default seed from time of day to use
	  gettimeofday, etc., so that successive runs of mawk are less likely
	  to use the same seed value (suggested by Mike Brennan).
	+ make a further refinement, "gsub3" which uses a single pass.
	+ change SType and SLen types to improve performance as well as
	  handling larger regular expressions (suggested by Mike Brennan).
	+ fix some minor issues reported by Coverity.
	+ regenerate parse.c using byacc 20140422
	+ modify makefile-rule for generating parse.c to keep the "#line"
	  preprocessor lines consistent with the actual filename.  This is
	  needed by lcov.
	+ add test/reg7.awk to help with recent testing.
	+ discard intermediate new_gsub used for regression-testing, will do
	  further improvements based on "gsub2".
	+ fix a comparison in rexp3.c to work with embedded nulls (patch by
	  Mike Brennan).
	+ in-progress changes to implement "gsub2", which will reduce copying.
	+ discard intermediate old_gsub used for regression-testing, using
	  original gsub function renamed to "gsub0" for that purpose.
	+ remove old compiler information from version message.
	+ remove NF value from version message.
	+ patches by Mike Brennan:
	  + changed the intermediate storage of STRINGS used by split.
	  + cleaned up the xxx_split() functions.
	    a) removed hand loop unrolling. What was an optimization for
            intel 8086/88 is silly today.
            b) consequence of a) some macros went away so the code is easier
            to read/understand.
            c) handles null in input string
	       Note:  re_split() does \x00 null correctly, but it calls
	       REmatch() which does not.  I have examples where REmatch works
	       with nulls and examples of not working.  That needs to be fixed.
	  + changed field allocation to support no upper limit.
	+ when comparing two strings, allow for embedded nulls.
	+ add checks in rexp3.c for infinite loop for testcase noloop.awk
	  (report by Tibor Palinkas).
	+ improve test-package for debian by adding postrm script to restore
	  "mawk-base" to its unalternatized configuration, as well as adding
	  messages to the other pre/post scripts.
	+ patches by Mike Brennan:
	  + increase some limits: NF is now 1048575, sprintf limit is 8192.
	  + updated array.w; mostly documentation improvements
	  + add array.pdf generated from array.w
	+ add -Wu / -Wusage / -Wh / -Whelp to show usage message, like gawk.
	  If long options are enabled, honor --help and --usage as well.
	+ if no command-line parameters are given, show usage message like
	  gawk and BWK (report by Michael Sanders).
	+ improve configure macros CF_ADD_CFLAGS, CF_ADD_LIBS, CF_XOPEN_SOURCE,
	  e.g., for Minix3.2 port.
	+ restore in-progress change to gsub; resolved problem handling its
	  internal use of vectors for second parameter when "&" marker is \ 
	+ improve configure check for Intel compiler warnings; trim unwanted
	  -no-gcc option.
	+ for Solaris suppress the followup check for defining _XOPEN_SOURCE
	+ update config.guess and config.sub
   2014-03-13 17:35:23 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
+ add configure check to work around recent breakage in Cygwin's math.h
  which declares _LIB_VERSION without allowing it to be updated
+ minor updates to configure script, for clang and mingw
+ update config.guess and config.sub
   2013-05-13 03:47:57 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to

Upstream changes:
        + modify missing-operand check in rexp.c to allow the case of empty
          "()", matching behavior of gawk and BWK (report by Arkadiusz
        + revert in-progress change to gsub retain ifdef'd for additional
          development since it did not handle array as the second parameter
          (report by Arkadiusz Miskiewicz).

        + build-fix for cygwin in matherr.c, which declares a different type
          for _LIB_VERSION
        + add missing "-f" option in examples/gdecl.awk
        + fix a regression in fflush, ensuring that it returns an error if
          the argument does not match any output filename (report by Nathan
        + modify wording of configure --help message to make it clear that
          the default for --with-builtin-regex uses the builtin regular
          expression engine of mawk.
        + fix issues reported by Coverity scan.  Most of these were minor,
          and were addressed by modifying the source to allow Coverity to
          improve its analysis of the code.
        + amend support for LC_NUMERIC by translating period to the local
          decimal separator as needed to work with strtod() which is used
          to validate decimal constants when scanning source files.  This
          fixes an infinite loop with
                mawk 'BEGIN { print 1.0 }'
          (report by Jan Psota).
        + regenerate man/mawk.doc, overlooked in previous updates.
   2012-12-02 11:28:42 by Aleksey Cheusov | Files touched by this commit (3) | Package updated
Log message:
Update mawk to 1.3.4-20121129. For details see share/doc/mawk/CHANGES