Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/freshmeat/htdocs/index.php on line 250

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/freshmeat/htdocs/index.php on line 250

Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/freshmeat/htdocs/index.php on line 358

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/freshmeat/htdocs/index.php on line 358

Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/freshmeat/htdocs/index.php on line 358

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/freshmeat/htdocs/index.php on line 358

Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/freshmeat/htdocs/index.php on line 358

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/freshmeat/htdocs/index.php on line 358

Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/freshmeat/htdocs/index.php on line 358

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/freshmeat/htdocs/index.php on line 358

Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/freshmeat/htdocs/index.php on line 358

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/freshmeat/htdocs/index.php on line 358

Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/freshmeat/htdocs/index.php on line 385

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/freshmeat/htdocs/index.php on line 385
MAWK – Freecode
Projects / MAWK

MAWK

Mawk (Mike's AWK) is an interpreter for the AWK Programming Language.

Tags
Licenses
Implementation

Recent releases

  •  27 Dec 2013 01:53

    Release Notes: Configure script updates to fix some portability issues.

    •  03 Aug 2013 14:42

      Release Notes: This release adds checks for too-long literal strings in scripts (this is an old bug from 1.3.3).

      •  10 Dec 2012 01:26

        Release Notes: Fixes a problem introduced by the LC_NUMERIC change in 20121129. Fixes several other minor bugs as well.

        •  29 Nov 2012 10:54

          Release Notes: This release adds several new features for compatibility with gawk and BWK awk, including a length() function for arrays, strftime(), and related functions. It also makes mawk's builtin random number generator optional, permitting use of the system's functions.

          •  28 Jun 2012 01:11

            Release Notes: This release implements gawk's "nextfile" feature, adds "/dev/stdin" as an alias for stdin (already aliased to "-"), fixes an overflow check used to distinguish between large numbers and strings, improves debugging traces and memory-leak checking, and adds various other bugfixes and portability improvements.

            Recent comments

            09 Sep 2009 00:02 jmellander

            As a regular mawk user, I use it for lots of data slicing & dicing - I noticed that when the hash table become enormous (millions of entries), that the performance is very slow - I surmised that the hash function was having lots of collisions, thus made some changes to a modern hash function while I was trapped in a slow meeting.

            In hash.c I replaced the 'hash' function with:

            /*
            FNV-1 hash function,
            per http://en.wikipedia.org/wiki/Fowler-Noll-Vo_hash_function
            */
            unsigned
            hash(s)
            register char *s ;
            {
            register unsigned h = 2166136261 ;

            while (*s) h = (h * 16777619) ^ *s++ ;
            return h ;
            }

            and in array.c replaced 'ahash' with:
            /*
            FNV-1 hash function,
            per http://en.wikipedia.org/wiki/Fowler-Noll-Vo_hash_function
            */
            static unsigned ahash(sval)
            STRING* sval ;
            {
            register unsigned h = 2166136261 ;
            register char *s = sval->str;

            while (*s) h = (h * 16777619) ^ *s++ ;
            return h ;
            }

            Will send benchmark results later, when I run it on an unloaded system.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.