21.07.2015 Views

GAWK: Effective AWK Programming

GAWK: Effective AWK Programming

GAWK: Effective AWK Programming

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix B: Installing gawk 283pawkThe awk translator is released under the GPL, and the library is under theLGPL.To get awka, go to http://awka.sourceforge.net. You can reach AndrewSumner at andrew@zbcom.net.Nelson H.F. Beebe at the University of Utah has modified the Bell Labsawk to provide timing and profiling information. It is different from pgawk(see Section 10.5 [Profiling Your awk Programs], page 173), in that ituses CPU-based profiling, not line-count profiling. You may find it ateither ftp://ftp.math.utah.edu/pub/pawk/pawk-20030606.tar.gz orhttp://www.math.utah.edu/pub/pawk/pawk-20030606.tar.gz.The OpenSolaris POSIX awkThe version of awk in ‘/usr/xpg4/bin’ on Solaris is POSIX compliant. It isbased on the awk from Mortice Kern Systems for PCs. The source code can bedownloaded from the OpenSolaris web site. This author was able to make itcompile and work under GNU/Linux with 1–2 hours of work. Making it moregenerally portable (using GNU Autoconf and/or Automake) would take morework, and this has not been done, at least to our knowledge.jawkQTawkThis is an interpreter for awk written in Java. It claims to be a full interpreter,although because it uses Java facilities for I/O and for regexp matching, thelanguage it supports is different from POSIX awk. More information is availableon the project’s home page.This is an independent implementation of awk distributed under the GPL. Ithas a large number of extensions over standard awk and may not be 100%syntactically compatible with it. See http://www.quiktrim.org/QTawk.htmlfor more information, including the manual and a download link.QSE Awk This is an embeddable awk interpreter. For more information seehttp://code.google.com/p/qse/ and http://awk.info/?tools/qse.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!