Skip to content
mawk 1.3.4 20121129
C Shell Perl Other
Find file
Latest commit c9dcde5 Nov 29, 2012 Thomas E. Dickey regen
Failed to load latest commit information.
atarist initial check-in of atarist/README.ST Nov 29, 2012
config-user initial check-in of config-user/cray Nov 29, 2012
debian "fix" defect in Debian package. Nov 29, 2012
examples use a here-document to avoid relying on echo's "-e" option. Nov 29, 2012
icons initial check-in of icons/mawk48.png, icons/mawk144.png Nov 29, 2012
man regen Nov 29, 2012
msdos same file - Nov 29, 2012
package bump Nov 29, 2012
rexp add param to REmatch to match builtin modules. Nov 29, 2012
test implement gawk extension "nextfile" (several requests, but originally… Nov 29, 2012
v7 initial check-in of v7/README, v7/config.h Nov 29, 2012
ACKNOWLEDGMENT initial check-in of ACKNOWLEDGMENT Nov 29, 2012
CHANGES Nathan Weeks raised an issue with Aharon Robbins, pointing out that B… Nov 29, 2012
COPYING initial check-in of msdos/examples/doslist.awk, regexp.h, test/wfrq0.… Nov 29, 2012
INSTALL update to generic instructions Nov 29, 2012
Makefile.in trace.o is a separate module Nov 29, 2012
README finish sentence fragment (report by Elias Pipping) Nov 29, 2012
aclocal.m4 add CF_SRAND Nov 29, 2012
array.c regen to keep dates distinct from array.w Nov 29, 2012
array.h regen to keep dates distinct from array.w Nov 29, 2012
array.w update copyright notices Nov 29, 2012
bi_funct.c gcc-warning Nov 29, 2012
bi_funct.h adding mktime and systime builtins Nov 29, 2012
bi_vars.c update copyright notices Nov 29, 2012
bi_vars.h update copyright notices Nov 29, 2012
cast.c gcc-warning Nov 29, 2012
code.c implemented length(array) by special-casing the 'builtin' production in Nov 29, 2012
code.h implemented length(array) by special-casing the 'builtin' production in Nov 29, 2012
config.guess 2012-09-25 Nov 29, 2012
config.sub 2012-08-18 Nov 29, 2012
config.user initial check-in of parse.c, parse.h, config.user Nov 29, 2012
config_h.in add variables which might be set via CF_SRAND Nov 29, 2012
configure regen Nov 29, 2012
configure.in move -D's to CPPFLAGS Nov 29, 2012
da.c implemented length(array) by special-casing the 'builtin' production in Nov 29, 2012
error.c fill in the rest of the enumeration for type_to_str() Nov 29, 2012
execute.c gcc warning Nov 29, 2012
fcall.c add some traces Nov 29, 2012
field.c update copyright notices Nov 29, 2012
field.h update copyright notices Nov 29, 2012
files.c Nathan Weeks raised an issue with Aharon Robbins, pointing out that B… Nov 29, 2012
files.h Nathan Weeks raised an issue with Aharon Robbins, pointing out that B… Nov 29, 2012
fin.c eliminate CF_MAWK_CHECK_HEADERS Nov 29, 2012
fin.h update copyright notices Nov 29, 2012
fpe_check.c update copyright notices Nov 29, 2012
hash.c gcc-stricter void* and related casts Nov 29, 2012
init.c investigated further and found that implementing LC_NUMERIC for input is Nov 29, 2012
init.h add "/dev/stdin" name for stdin for consistency with stdout and stderr, Nov 29, 2012
install-sh initial check-in of install-sh Nov 29, 2012
jmp.c update copyright notices Nov 29, 2012
jmp.h update copyright notices Nov 29, 2012
kw.c implement gawk extension "nextfile" (several requests, but originally… Nov 29, 2012
main.c investigated further and found that implementing LC_NUMERIC for input is Nov 29, 2012
makedeps.sh update copyright notices Nov 29, 2012
makescan.c update copyright notices Nov 29, 2012
matherr.c none of my logs require anything in missing.c - remove it altogether … Nov 29, 2012
mawk.ac.m4 initial check-in of mawk.ac.m4, aclocal.m4, configure Nov 29, 2012
mawk.h add TraceFunc() Nov 29, 2012
memory.c update copyright notices Nov 29, 2012
memory.h update copyright notices Nov 29, 2012
missing.c prompted by header-conflict in Dominic Let's patch for strftime feature, Nov 29, 2012
mkdirs.sh initial check-in of mkdirs.sh Nov 29, 2012
nstd.h fix use of obsolete NO_MATHERR Nov 29, 2012
packing.list initial check-in of array.w, CHANGES, packing.list Nov 29, 2012
parse.c regen Nov 29, 2012
parse.h implemented length(array) by special-casing the 'builtin' production in Nov 29, 2012
parse.y gcc-stricter Nov 29, 2012
patchlev.h bump Nov 29, 2012
print.c add some traces Nov 29, 2012
re_cmpl.c update copyright notices Nov 29, 2012
regexp.c update copyright notices Nov 29, 2012
regexp.h update copyright notices Nov 29, 2012
regexp_system.c update copyright notices Nov 29, 2012
repl.h update copyright notices Nov 29, 2012
rexp.c gcc-stricter void* and related casts Nov 29, 2012
rexp.h implement gawk extension "nextfile" (several requests, but originally… Nov 29, 2012
rexp0.c update copyright notices Nov 29, 2012
rexp1.c update copyright notices Nov 29, 2012
rexp2.c update copyright notices Nov 29, 2012
rexp3.c update copyright notices Nov 29, 2012
rexp4.c update copyright notices Nov 29, 2012
rexpdb.c update copyright notices Nov 29, 2012
scan.c eliminate CF_MAWK_CHECK_HEADERS Nov 29, 2012
scan.h update copyright notices Nov 29, 2012
scancode.c regen Nov 29, 2012
scancode.h update copyright notices Nov 29, 2012
sizes.h update copyright notices Nov 29, 2012
split.c update copyright notices Nov 29, 2012
symtype.h make type_to_str() public so I can use it in traces Nov 29, 2012
trace.c gcc-stricter void* and related casts Nov 29, 2012
types.h update copyright notices Nov 29, 2012
vargs.h drop varargs support (use only stdarg.h) Nov 29, 2012
version.c bump Nov 29, 2012
vs6.mak none of my logs require anything in missing.c - remove it altogether … Nov 29, 2012
zmalloc.c gcc-stricter void* and related casts Nov 29, 2012
zmalloc.h update copyright notices Nov 29, 2012

README

-- $MawkId: README,v 1.5 2010/05/13 21:52:05 tom Exp $
-- vile:txtmode fc=78

mawk -- an implementation of new/posix awk
version 1.3.4

Generic installation instructions are in file INSTALL.
This file gives more specific information.

Send bug reports, comments, questions, etc. to 

	Thomas E. Dickey <dickey@invisible-island.net>
	http://invisible-island.net/mawk/
	ftp://invisible-island.net/mawk/

-------------------------------------------------------------------------------

Portability:
-----------

	This program builds/runs on several POSIX-style platforms.
	It has been recently tested for these:

	AIX (5.1 and 5.3, using cc and gcc)
	Cygwin (1.5.21 on Windows/XP)
	FreeBSD (6.0)
	HPUX (10.20, 11.00, 11.11 and 11.23, using cc and gcc)
	IRIX64 (using cc and gcc)
	Linux (several flavors, using gcc and icc)
	MinGW/MSYS (on Windows/XP)
	OpenBSD (4.1)
	Solaris (2.6 to 10, using cc and gcc)
	Tru64 (4.0D and 5.1, using cc and gcc)

Options:
-------

	The configure script has these application-specific options:

	--disable-echo          display "compiling" commands

		Show "compiling foo.c" rather than the full compiler and
		options.  Those are clutter useful only to a developer. 
		Developers focus on compiler warnings anyway.

	--enable-warnings       test: turn on gcc compiler warnings

		This turns on the usual gcc compiler warnings needed to
		do useful development.  If you happen to be using the
		Intel compiler icc, it does the right thing for that.

	--with-builtin-regex    use mawk's own regular-expressions engine

		Normally mawk's configure script uses the built-in regular
		expressions.  The choice of default is based on where the
		greatest lossage occurs.  More scripts use gawk's
		null-character extension than use POSIX brace expressions.  If
		your needs are different, build mawk using an external library.

Limitations:
-----------

	mawk 1.3.3 was developed to correspond with a POSIX draft.  POSIX
	continued, and incorporated some of mawk's extensions as features. 
	The 1.3.4 release fills in the major areas in which POSIX grew past
	the mawk 1.3.3 implementation.

	mawk's built-in regular expression engine does not yet support brace
	expressions, e.g.,

		/a{,4}/

	Use an external regular expression library if you require brace
	expressions.  Aside from that, mawk's built-in regular expressions
	provide POSIX functionality.

	Using an external regular expression library means that mawk cannot
	match expressions containing the null character.  That is a
	nonstandard feature provided by gawk.  Using mawk's built-in regular
	expressions, there is some support for this feature.

	Aside from supporting nulls, using an external regular expression
	library is usually advantageous.

	The Cygwin math library has some problems (which are also visible in
	the gawk port).  For instance, its log() function returns Inf
	(infinity) for log(-8) rather than NaN (not a number) as all of the
	Unix and similar platforms would do.

	The MSYS package for regular expressions is unusable as an external
	library for mawk because it generates a runtime error when asked to
	compile a newline, e.g., "\n".  mawk does this during initialization.

	The MinGW/MSYS port does not currently support pipes.  There is
	source-code from the obsolete MS-DOS port which can be reused for this
	purpose; however that is not the focus of the 1.3.4 release.
Something went wrong with that request. Please try again.