The NetBSD Project

CVS log for pkgsrc/lang/nawk/Makefile

[BACK] Up to [] / pkgsrc / lang / nawk

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.46 / (download) - annotate - [select for diffs], Sun Sep 17 10:32:05 2023 UTC (2 months, 2 weeks ago) by vins
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, HEAD
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

lang/nawk: downgrade to 20230909.

Partially revert previous commit, by downgrading the package to the
most recent release tag supporting ASCII encoded input files (and
processing strings as sequences of bytes).
This is needed by security/mozilla-rootcerts and likely other packages;

This version incorporates all the changes described in the FIXES file up
to 2023-09-09, minus support for UTF-8 and comma-separated values (CSV)

Revision 1.45 / (download) - annotate - [select for diffs], Tue Sep 12 19:16:52 2023 UTC (2 months, 3 weeks ago) by vins
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

lang/nawk: update to release 20230911

This release marks the official 2nd edition of the AWK programming

# CHANGES (since 20220122)

Sep 11, 2023:
	Added --csv option to enable processing of comma-separated
	values inputs.  When --csv is enabled, fields are separated
	by commas, fields may be quoted with " double quotes, fields
	may contain embedded newlines.

	If no explicit separator argument is provided, split() uses
	the setting of --csv to determine how fields are split.

	Strings may now contain UTF-8 code points (not necessarily
	characters).  Functions that operate on characters, like
	length, substr, index, match, etc., use UTF-8, so the length
	of a string of 3 emojis is 3, not 12 as it would be if bytes
	were counted.

	Regular expressions are processes as UTF-8.

	Unicode literals can be written as \u followed by one
	to eight hexadecimal digits.  These may appear in strings and
	regular expressions.

Sep 06, 2023:
	Fix edge case where FS is changed on commandline. Thanks to
	Gordon Shephard and Miguel Pineiro Jr.

	Fix regular expression clobbering in the lexer, where lexer does
	not make a copy of regexp literals. also makedfa memory leaks have
	been plugged. Thanks to Miguel Pineiro Jr.

Dec 15, 2022:
	Force hex escapes in strings to be no more than two characters,
	as they already are in regular expressions. This brings internal
	consistency, as well as consistency with gawk. Thanks to
	Arnold Robbins.

Sep 12, 2022:
	adjbuf minlen error (cannot be 0) in cat, resulting in NULL pbuf.
	discovered by todd miller. also use-after-free issue with
	tempfree in cat, thanks to Miguel Pineiro Jr and valgrind.

Aug 30, 2022:
	Various leaks and use-after-free issues plugged/fixed.
	Thanks to Miguel Pineiro Jr. <>.

May 23, 2022:
	Memory leak when assigning a string to some of the built-in
	variables. allocated string erroneously marked DONTFREE.
	Thanks to Miguel Pineiro Jr. <>.

Mar 14, 2022:
	Historic bug: command-line "name=value" assignment had been
	truncating its entry in ARGV. (circa 1989) Thanks to
	Miguel Pineiro Jr. <>.

Mar 3, 2022:
	Fixed file management memory leak that appears to have been
	there since the files array was first initialized with stdin,
	stdout, and stderr (circa 1992). Thanks to Miguel Pineiro Jr.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Feb 24 20:57:50 2023 UTC (9 months, 1 week ago) by vins
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1
Changes since 1.43: +4 -4 lines
Diff to previous 1.43 (colored)

lang/nawk: update to release 20220122.


2020-07-30         Arnold D. Robbins     <>

	By fiat, we use bison for $(YACC). Trying to accommodate
	different versions didn't work.

	* makefile: Significant cleanup. Replace all ytab* references
	with* and simplify definition of YACC.
	* .gitignore: Remove ytab* references.
	* b.c, lex.c, maketab.c, parse.c, run.c: Replace include of ytab.h
	* lib.c, main.c, tran.c: Remove include of ytab.h, wasn't needed.

2020-01-20         Arnold D. Robbins     <>

	* run.c (openfile): Set the close-on-exec flag for file
	and pipe redirections that aren't stdin/stdout/stderr.

2020-01-06         Arnold D. Robbins     <>

	Minor fixes.
	* b.c (replace_repeat): Turn init_q back into an int.
	* lex.c (string): Use \a instead of \007.
	* tran.c (catstr): Use snprintf instead of sprintf.

2020-01-01         Arnold D. Robbins     <>

	* tran.c (syminit, arginit, envinit): Free sval member before
	setting it. Thanks to valgrind.
	* b.c: Small formatting cleanups in several routines.

2019-12-27         Arnold D. Robbins     <>

	* b.c (replace_repeat): Fix a bug whereby a{0,3} could match
	four a's.  Thanks to Anonymous AWK fan <>
	for the report. Also, minor code formatting cleanups.
	* testdir/ New file.

2019-12-11         Arnold D. Robbins     <>

	* README: Renamed to ...
	* ... this. Cleaned up some as well,
	including moving to Markdown.

2019-11-08         Arnold D. Robbins     <>

	* test/T.chem: Use $oldawk instead of hardwiring 'awk'.
	* test/ Remove gawk warnings from output, improves

2019-10-07         Arnold D. Robbins     <>

	* b.c (fnematch): Change type of pbuf from unsigned char to char.
	* proto.h (fnematch): Ditto.

2019-10-06         Arnold D. Robbins     <>

	* lib.c (readrec): Allow RS a regular expression. Imported
	the code from the NetBSD awk.
	* b.c (fnematch): New function for implementing the feature.
	* awk.1: Updated.
	* main.c (version): Updated.

2019-06-24         Arnold D. Robbins     <>

	* makefile: Revise to take into account there is no more awktest.tar,
	add targets 'check' and 'test', and also 'testclean' to clean up
	after test run.  Have 'clean' and 'cleaner' depend upon 'testclean'.

2019-06-23         Arnold D. Robbins     <>

	* testdir: Extracted from awktest.tar and added to Git.
	* awktest.tar: Removed.

2019-06-06         Arnold D. Robbins     <>

	* awk.1: Fix a typo, minor edits.

2019-06-05         Arnold D. Robbins     <>

	* b.c (relex): Count parentheses and treat umatched right paren
	as a literal character.
	* awktest.tar (testdir/ Added a test case.
	* main.c (version): Updated.

2019-05-29         Arnold D. Robbins     <>

	* lib.c (isclvar): Remove check for additional '=' after
	first one. No longer needed.

2019-01-26         Arnold D. Robbins     <>

	* main.c (version): Updated.

2019-01-25         Arnold D. Robbins     <>

	* run.c (awkgetline): Check for numeric value in all getline
	variants. See the numeric-getline.* files in bugs-fixed directory.

2018-08-29         Arnold D. Robbins     <>

	* REGRESS: Check for existence of a.out. If not there, run
	make.  Enable core dumps for T.arnold system status test
	to work on MacOS X.

2018-08-22         Arnold D. Robbins     <>

	* awktest.tar (testdir/T.expr): Fix test for unary plus.

2018-08-22         Arnold D. Robbins     <>

	* REGRESS: Extract tests if necessary, set PATH to include '.'.
	* regdir/beebe.tar (Makefile): Fix longwrds test to prefix
	sort with LC_ALL=C.
	* awktest.tar: Updated from fixed test suite, directory
	it extracts is now called 'testdir' to match what's in top-level
	REGRESS script.
	* regdir: Removed, as Brian wants to keep the test suite in
	the tar file.

2018-08-22         Arnold D. Robbins     <>

	* FIXES, lib.c, run.c, makefile, main.c: Merge from Brian's tree.
	* REGRESS: New file, from Brian.
	* awktest.tar: Restored from Brian's tree.

2018-08-22         Arnold D. Robbins     <>

	* awkgram.y (UPLUS): New token. In the grammar, call op1()
	with it.
	* maketab.c (proc): Add entry for UPLUS.
	* run.c (arith): Handle UPLUS.
	* main.c (version): Updated.
	* bugs-fixed/unary-plus.awk, bugs-fixed/unary-plus.bad,
	bugs-fixed/unary-plus.ok: New files.

2018-08-10         Arnold D. Robbins     <>

	* TODO: Updated.
	* awk.1: Improve use of macros, add some additional explanation
	in a few places, alphabetize list of variables.

2018-08-08         Arnold D. Robbins     <>

	* awk.h (Cell): Add new field `fmt' to track xFMT value used
	for a string conversion.
	[CONVC, CONVO]: New flag macros.
	* bugs-fixed/README: Updated.
	* bugs-fixed/string-conv.awk, bugs-fixed/string-conv.bad,
	bugs-fixed/string-conv.ok: New files.
	* main.c (version): Updated.
	* proto.h (flags2str): Add declaration.
	* tran.c (setfval): Clear CONVC and CONVO flags and set vp->fmt
	to NULL.
	(setsval): Ditto. Add large comment and new code to manage
	correct conversion of number to string based on various flags
	and the value of vp->fmt. The idea is to not convert again
	if xFMT is the same as before and we're doing the same conversion.
	Otherwise, clear the old flags, set the new, and reconvert.
	(flags2str): New function. For debug prints and for use from a debugger.

2018-08-05         Arnold D. Robbins     <>

	Fix filename conflicts in regdir where the only difference was
	in letter case. This caused problems on Windows systems.

	* regdir/Compare.T1: Renamed from regdir/Compare.T.
	* regdir/t.delete0: Renamed from regdir/t.delete.
	* regdir/t.getline1: Renamed from regdir/t.getline.
	* regdir/t.redir1: Renamed from regdir/t.redir.
	* regdir/t.split1: Renamed from regdir/t.split.
	* regdir/t.sub0: Renamed from regdir/t.sub.
	* regdir/REGRESS: Adjusted.

2018-08-04         Arnold D. Robbins     <>

	With scalpel, tweasers, magnifying glass and bated breath,
	borrow code from the NetBSD version of nawk to fix the years-old
	bug whereby decrementing the value of NF did not change the

	* lib.c (fldbld): Set donerec to 1 when done.
	(setlastfld): New function.
	* proto.h (setlastfld): Add declaration.
	* run.c (copycell): Make code smarter about flags (from NetBSD code).
	* tran.c (setfree): New function.
	* tran.c (setfval): Normalize negative zero to positive zero.
	If setting NF, clear donerec and call setlastfld().
	(setsval): Remove call to save_old_OFS().  If setting OFS, call
	recbld(). If setting NF, clear donerec and call setlastfld().

	As part of the process, revert OFS-related changes of 2018-05-22:

	* awk.h (saveOFS, saveOFSlen, save_old_OFS): Remove declarations.
	* lib.c (recbld): Use *OFS instead of saveOFS.
	* run.c (saveOFS, saveOFSlen, save_old_OFS): Remove.
	* tran.c (syminit): Remove initialization of saveOFS and saveOFSlen.

	General stuff that goes along with all this:

	* bugs-fixed/README: Updated.
	* bugs-fixed/decr-NF.awk, bugs-fixed/decr-NF.bad,
	bugs-fixed/decr-NF.ok: New files.
	* main.c (version): Updated.
	* regdir/README.TESTS: Fix awk book title.
	* regdir/T.misc: Revise test to match fixed code.
	* run.c (format): Increase size of buffer used for %a test. (Unrelated
	to NF or OFS, but fixes a compiler complaint.)

2018-06-07         Arnold D. Robbins     <>

	* regdir/beebe.tar: Fix longwrds.ok so that the test will pass.
	The file was incorrectly sorted.

2018-06-06         Arnold D. Robbins     <>

	* regdir/ Fix the bug again in the second instance
	of the code. Thanks to BWK for pointing this out.

2018-05-31         Arnold D. Robbins     <>

	* regdir/ Fix a syntax error and ordering bug
	in creating the 'foo' file.

2018-05-23         Arnold D. Robbins     <>

	* awk.1: Remove standalone 'awk' at the top of file, it messed up
	the formatting. Arrange built-in variable list in alphabetical

2018-05-23         Arnold D. Robbins     <>

	* main.c (version): Add my email address and a date so that
	users can tell this isn't straight BWK awk.
	* Minor updates.
	* TODO: Updated.

2018-05-22         Arnold D. Robbins     <>

	Add POSIX-required formats %a and %A.

	* run.c (format): Check for %a support in C library. If there,
	allow %a and %A as valid formats.
	* TODO: Updated.
	* bugs-fixed/README: Updated.
	* bugs-fixed/a-format.awk, bugs-fixed/a-format.bad,
	bugs-fixed/a-format.ok: New files.

2018-05-22         Arnold D. Robbins     <>

	* FIXES: Restored a line from a much earlier version that
	apparently got lost when the dates were reordered.
	* TODO: Updated.

2018-05-22         Arnold D. Robbins     <>

	* New file.

2018-05-22         Arnold D. Robbins     <>

	* regdir/echo.c, regdir/time.c: Minor fixes to compile without
	warning on current GCC / Linux.

2018-05-22         Arnold D. Robbins     <>

	* TODO: New file.

2018-05-22         Arnold D. Robbins     <>

	* makefile (gitadd, gitpush): Remove these targets. They
	should not be automated and were incorrect for things that
	would be done regularly.

2018-05-22         Arnold D. Robbins     <>

	Fix nawk so that [[:blank:]] only matches space and tab instead
	of any whitespace character, originally made May 10, 2018.
	See bugs-fixed/space.awk.

	This appears to have been a thinko on Brian's part.

	* b.c (charclasses): Use xisblank() function for [[:blank:]].
	* bugs-fixed/README: Updated.
	* bugs-fixed/space.awk, bugs-fixed/space.bad,
	bugs-fixed/space.ok: New files.

2018-05-22         Arnold D. Robbins     <>

	* .gitignore: New file.

2018-05-22         Arnold D. Robbins     <>

	Fix nawk to provide reasonable exit status for system(),
	a la gawk, originally made March 12, 2016. See

	* run.c (bltin): For FSYSTEM, use the macros defined for wait(2)
	to produce a reasonable exit value, instead of doing a floating-point
	division by 256.
	* awk.1: Document the return status values.
	* bugs-fixed/README: Updated.
	* bugs-fixed/system-status.awk, bugs-fixed/system-status.bad,
	bugs-fixed/system-status.ok: New files.

2018-05-22         Arnold D. Robbins     <>

	Bug fix with respect to rebuilding a record, originally
	made August 19, 2014. See bugs-fixed/ofs-rebuild.awk.

	* awk.h (saveOFS, saveOFSlen): Declare new variables.
	* lib.c (recbld): Use them when rebuilding the record.
	* run.c (saveOFS, saveOFSlen): Define new variables.
	(save_old_OFS): New function to save OFS aside.
	* tran.c (syminit): Initialize saveOFS and saveOFSlen.
	(setsval): If setting a field, call save_old_OFS().
	* bugs-fixed/README, bugs-fixed/ofs-rebuild.awk,
	bugs-fixed/ofs-rebuild.bad, bugs-fixed/ofs-rebuild.ok: New files.

2018-05-22         Arnold D. Robbins     <>

	* makefile (YACC): Use bison.

2018-05-22         Arnold D. Robbins     <>

	* ChangeLog: Created.
	* regdir: Created. Based on contents of awktest.a.
	* .gitattributes: Created, to preserve CR LF in regdir/t.crlf.
	* awktest.a: Removed.
	* regdir/T.gawk, regdir/T.latin1: Updated from awktest.tar.
	* awktest.tar: Removed.

Revision 1.43 / (download) - annotate - [select for diffs], Sun Jan 26 17:31:30 2020 UTC (3 years, 10 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

all: migrate homepages from http to https

pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Oct 9 14:06:38 2014 UTC (9 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.41: +1 -3 lines
Diff to previous 1.41 (colored)

Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Mar 25 12:50:49 2014 UTC (9 years, 8 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.40: +3 -2 lines
Diff to previous 1.40 (colored)

Increase the default YYMAXDEPTH from 150 to 300, fixes problems building
devel/editline where mdoc2man.awk would previously abort with a stack
overflow.  This is still pretty conservative compared to other parsers.


Revision 1.40 / (download) - annotate - [select for diffs], Wed Mar 12 14:20:43 2014 UTC (9 years, 8 months ago) by ryoon
Branch: MAIN
Changes since 1.39: +3 -4 lines
Diff to previous 1.39 (colored)

Update to 20121220

* Works fine under Debian GNU/Linux 7.4, NetBSD/amd64 6.99.36
* Merge pkgsrc specific changes

Dec 20, 2012:
	fiddled makefile to get correct yacc and bison flags.  pick yacc
	(linux) or bison (mac) as necessary.

	added  __attribute__((__noreturn__)) to a couple of lines in
	proto.h, to silence someone's enthusiastic checker.

	fixed obscure call by value bug in split(a[1],a) reported on
	9fans.  the management of temporary values is just a mess; i
	took a shortcut by making an extra string copy.  thanks
	to paul patience and arnold robbins for passing it on and for
	proposed patches.

	tiny fiddle in setfval to eliminate -0 results in T.expr, which
	has irritated me for 20+ years.

Aug 10, 2011:
	another fix to avoid core dump with delete(ARGV); again, many thanks
	to ruslan ermilov.

Aug 7, 2011:
	split(s, a, //) now behaves the same as split(s, a, "")

Jun 12, 2011:
	/pat/, \n /pat/ {...} is now legal, though bad style to use.

	added checks to new -v code that permits -vnospace; thanks to
	ruslan ermilov for spotting this and providing the patch.

	removed fixed limit on number of open files; thanks to aleksey
	cheusov and christos zoulos.

	fixed day 1 bug that resurrected deleted elements of ARGV when
	used as filenames (in lib.c).

	minor type fiddles to make gcc -Wall -pedantic happier (but not
	totally so); turned on -fno-strict-aliasing in makefile.

May 6, 2011:
	added #ifdef for isblank.
	now allows -ffoo as well as -f foo arguments.
	(thanks, ruslan)

May 1, 2011:
	after advice from todd miller, kevin lo, ruslan ermilov,
	and arnold robbins, changed srand() to return the previous
	seed (which is 1 on the first call of srand).  the seed is
	an Awkfloat internally though converted to unsigned int to
	pass to the library srand().  thanks, everyone.

	fixed a subtle (and i hope low-probability) overflow error
	in fldbld, by adding space for one extra \0.  thanks to
	robert bassett for spotting this one and providing a fix.

	removed the files related to compilation on windows.  i no
	longer have anything like a current windows environment, so
	i can't test any of it.

May 23, 2010:
	fixed long-standing overflow bug in run.c; many thanks to
	nelson beebe for spotting it and providing the fix.

	fixed bug that didn't parse -vd=1 properly; thanks to santiago
	vila for spotting it.

Feb 8, 2010:
	i give up.  replaced isblank with isspace in b.c; there are
	no consistent header files.

Nov 26, 2009:
	fixed a long-standing issue with when FS takes effect.  a
	change to FS is now noticed immediately for subsequent splits.

	changed the name getline() to awkgetline() to avoid yet another
	name conflict somewhere.

Feb 11, 2009:
	temporarily for now defined HAS_ISBLANK, since that seems to
	be the best way through the thicket.  isblank arrived in C99,
	but seems to be arriving at different systems at different

Oct 8, 2008:
	fixed typo in b.c that set tmpvec wrongly.  no one had ever
	run into the problem, apparently.  thanks to alistair crooks.

Oct 23, 2007:
	minor fix in lib.c: increase inputFS to 100, change malloc
	for fields to n+1.

	fixed memory fault caused by out of order test in setsval.

	thanks to david o'brien, freebsd, for both fixes.

May 1, 2007:
	fiddle in makefile to fix for BSD make; thanks to igor sobrado.

Mar 31, 2007:
	fixed some null pointer refs calling adjbuf.

Feb 21, 2007:
	fixed a bug in matching the null RE in sub and gsub.  thanks to al aho
	who actually did the fix (in b.c), and to wolfgang seeberg for finding
	it and providing a very compact test case.

	fixed quotation in b.c; thanks to Hal Pratt and the Princeton Dante

	removed some no-effect asserts in run.c.

	fiddled maketab.c to not complain about bison-generated values.

	removed the obsolete -V argument; fixed --version to print the
	version and exit.

	fixed wording and an outright error in the usage message; thanks to igor
	sobrado and jason mcintyre.

	fixed a bug in -d that caused core dump if no program followed.

Jan 1, 2007:
	dropped mac.code from makefile; there are few non-MacOSX
	mac's these days.

Jan 17, 2006:
	system() not flagged as unsafe in the unadvertised -safe option.
	found it while enhancing tests before shipping the ;login: article.
	practice what you preach.

	removed the 9-years-obsolete -mr and -mf flags.

	added -version and --version options.

	core dump on linux with BEGIN {nextfile}, now fixed.

	removed some #ifdef's in run.c and lex.c that appear to no
	longer be necessary.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Oct 2 20:11:46 2012 UTC (11 years, 2 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.38: +1 -2 lines
Diff to previous 1.38 (colored)

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Mar 21 16:29:40 2010 UTC (13 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Reset maintainer, developer lost his commit bit.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Apr 9 00:48:08 2009 UTC (14 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.36: +1 -2 lines
Diff to previous 1.36 (colored)

Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Apr 8 22:43:24 2009 UTC (14 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.35: +1 -2 lines
Diff to previous 1.35 (colored)

Remove the remaining NO_MTREE definitions, it has been a nop for a

Revision 1.35 / (download) - annotate - [select for diffs], Mon Sep 8 13:47:55 2008 UTC (15 years, 3 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, cube-native-xorg-base, cube-native-xorg
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

Properly implement the equivalent of strdup again as the portable
version and the src version of nawk differ in that. Complained about by
Joachim Koenig, blame on me. Bump revision.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Aug 26 20:26:25 2008 UTC (15 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

As dholland pointed out, don't leak memory when FS needs resizing more
than once. Bump revision again.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Aug 26 14:46:21 2008 UTC (15 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored)

Remove hard-coded limit on FS. Merge minor performance improvements.
Bump revision.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jun 19 18:36:51 2008 UTC (15 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper
Changes since 1.31: +3 -1 lines
Diff to previous 1.31 (colored)

Add a marker for bootstrap packages to allow special cases them during
bulk builds.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Mar 4 16:38:12 2008 UTC (15 years, 9 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1
Changes since 1.30: +5 -3 lines
Diff to previous 1.30 (colored)

Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Feb 22 19:26:38 2007 UTC (16 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jul 14 16:24:28 2006 UTC (17 years, 4 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored)

Mark these packages as NO_MTREE as they are bootstrap packages and don't
need mtree to pre-generate any directories for them.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Jul 14 14:23:06 2006 UTC (17 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.27: +10 -25 lines
Diff to previous 1.27 (colored)

Prepare nawk for use as a bootstrap tool by including the sources
directly in pkgsrc/lang/nawk/files and adjusting the package Makefile
accordingly.  The README.pkgsrc file includes notes on how the source
files were (minimally) adjusted.

Revision 1.27 / (download) - annotate - [select for diffs], Sat May 6 03:09:03 2006 UTC (17 years, 7 months ago) by reed
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

PKGMANDIR instead of man.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Dec 5 20:50:26 2005 UTC (18 years ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

Revision 1.25 / (download) - annotate - [select for diffs], Sun May 22 19:11:12 2005 UTC (18 years, 6 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.24: +1 -7 lines
Diff to previous 1.24 (colored)

Remove the old tools framework and references to _USE_NEW_TOOLS.

Revision 1.24 / (download) - annotate - [select for diffs], Thu May 19 19:45:45 2005 UTC (18 years, 6 months ago) by dillo
Branch: MAIN
Changes since 1.23: +3 -4 lines
Diff to previous 1.23 (colored)

reorder lines to please pkglint

Revision 1.23 / (download) - annotate - [select for diffs], Wed May 18 05:22:43 2005 UTC (18 years, 6 months ago) by jlam
Branch: MAIN
Changes since 1.22: +25 -8 lines
Diff to previous 1.22 (colored)

Update lang/nawk to 20050425.  Pkgsrc changes include:

	Grab distfile from ${MASTER_SITE_LOCAL} where it's in a
	${PKGNAME}-specific directory since the distfile has no version

	Use the .shar instead of .tar.gz distfile to remove the need
	for dependencies to build this package.

Changes from nawk-20040207 include:

Apr 24, 2005:
	modified lib.c so that values of $0 et al are preserved in the END
	block, apparently as required by posix.  thanks to havard eidnes
	for the report and code.

Jan 14, 2005:
	fixed infinite loop in parsing, originally found by brian tsang.
	thanks to arnold robbins for a suggestion that started me
	rethinking it.

Dec 31, 2004:
	prevent overflow of -f array in main, head off potential error in
	call of SYNTAX(), test malloc return in lib.c, all with thanks to
	todd miller.

Dec 22, 2004:
	cranked up size of NCHARS; coverity thinks it can be overrun with
	smaller size, and i think that's right.  added some assertions to b.c
	to catch places where it might overrun.  the RE code is still fragile.

Dec 5, 2004:
	fixed a couple of overflow problems with ridiculous field numbers:
	e.g., print $(2^32-1).  thanks to ruslan ermilov, giorgos keramidas
	and david o'brien at for patches.  this really should
	be re-done from scratch.

Nov 21, 2004:
	fixed another 25-year-old RE bug, in split.  it's another failure
	to (re-)initialize.  thanks to steve fisher for spotting this and
	providing a good test case.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Apr 11 21:46:14 2005 UTC (18 years, 7 months ago) by tv
Branch: MAIN
Changes since 1.21: +1 -2 lines
Diff to previous 1.21 (colored)

Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Dec 3 15:15:01 2004 UTC (19 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Mar 11 20:08:16 2004 UTC (19 years, 8 months ago) by reed
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2, pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored)

Uses yacc during build.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Feb 9 14:47:34 2004 UTC (19 years, 10 months ago) by cjep
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Update of nawk to 20040207. Changes since previous version from bwk:

        Fixed a bug in regular expressions that dates (so help me) from 1977;
        it's been there from the beginning.  an anchored longest match that
        was longer than the number of states triggered a failure to initialize
        the machine properly.  many thanks to moinak ghosh for not only finding
        this one but for providing a fix, in some of the most mysterious
        code known to man.

        fixed a storage leak in call() that appears to have been there since
        1983 or so -- a function without an explicit return that assigns a
        string to a parameter leaked a Cell.  thanks to moinak ghosh for
        spotting this very subtle one.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Feb 8 04:03:15 2004 UTC (19 years, 10 months ago) by jlam
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

We no longer need to explicitly call ${BUILDLINK_*} for CC, CXX, LIBTOOL,
etc. because the bare variables will point to the correct executables.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jan 20 12:19:17 2004 UTC (19 years, 10 months ago) by agc
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Move WRKSRC definition away from the first paragraph in a Makefile.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jan 5 11:56:49 2004 UTC (19 years, 11 months ago) by jlam
Branch: MAIN
Changes since 1.15: +7 -2 lines
Diff to previous 1.15 (colored)


Revision 1.15 / (download) - annotate - [select for diffs], Sat Sep 6 13:59:18 2003 UTC (20 years, 3 months ago) by cjep
Branch: MAIN
CVS Tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Update of lang/nawk to 20030731. Cut-down version of changes since
20030321 version:

Jul 29, 2003:
        fixed (i think) the long-standing botch that included the beginning of
        line state ^ for RE's in the set of valid characters; this led to a
        variety of odd problems, including failure to properly match certain
        regular expressions in non-US locales.  thanks to ruslan for keeping
        at this one.

Jul 28, 2003:
        n-th try at getting internationalization right, with thanks to volker
        kiefel, arnold robbins and ruslan ermilov for advice, though they
        should not be blamed for the outcome.  according to posix, "."  is the
        radix character in programs and command line arguments regardless of
        the locale; otherwise, the locale should prevail for input and output
        of numbers.

        i have rescinded the attempt to use strcoll in expanding shorthands in
        regular expressions (cclenter).

Jul 4, 2003:
        fixed bug that permitted non-terminated RE, as in "awk /x".

Jun 1, 2003:
        subtle change to split: if source is empty, number of elems
        is always 0 and the array is not set.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jul 17 21:44:58 2003 UTC (20 years, 4 months ago) by grant
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)


Revision 1.13 / (download) - annotate - [select for diffs], Sat Mar 29 12:41:27 2003 UTC (20 years, 8 months ago) by jmmv
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Mar 16 14:51:01 2003 UTC (20 years, 8 months ago) by cjep
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Update of lang/nawk to version 20030314. Changes since 20021213:

Mar 14, 2003:
	the internationalization changes, somewhat modified, are now
	reinstated.  in theory awk will now do character comparisons
	and case conversions in national language, but "." will always
	be the decimal point separator on input and output regardless
	of national language.  isblank(){} has an #ifndef.

	this no longer compiles on windows: LC_MESSAGES isn't defined
	in vc6++.

	fixed subtle behavior in field and record splitting: if FS is
	a single character and RS is not empty, \n is NOT a separator.
	this tortuous reading is found in the awk book; behavior now
	matches gawk and mawk.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jan 3 20:50:56 2003 UTC (20 years, 11 months ago) by cjep
Branch: MAIN
CVS Tags: netbsd-1-6-1-base, netbsd-1-6-1
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Take maintainership of nawk

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jan 3 20:49:33 2003 UTC (20 years, 11 months ago) by cjep
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Update of lang/nawk to 20021213.

Changes since previous version:
For the moment, the internationalization changes of nov 29 are
rolled back -- programs like x = 1.2 don't work in some locales,
because the parser is expecting x = 1,2. Until I understand this
better, this will have to wait.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Dec 11 22:56:23 2002 UTC (20 years, 11 months ago) by jmmv
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Also quote CC and YACC when adding them to MAKEFLAGS (not done in last
commit). This can fix problems if it happens that those variables contain
spaces (or some other special character).

Suggested by Christopher Richards in private mail.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Dec 11 10:21:17 2002 UTC (20 years, 11 months ago) by jmmv
Branch: MAIN
Changes since 1.7: +7 -3 lines
Diff to previous 1.7 (colored)

Quote CFLAGS when passing them to MAKEFLAGS; if they contain spaces, build
will fail. Also fix a "typo" in the manpage (Awk->Nawk). Patch provided by
Christopher Richards in PR pkg/19344.

While I'm here, move manpage generation to the post-build target (where it
should be) and use INSTALL_MAN to install it (instead of generating it in

Revision 1.7 / (download) - annotate - [select for diffs], Mon Dec 9 00:05:27 2002 UTC (21 years ago) by cjep
Branch: MAIN
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)

1. Respect YACC, CC, CFLAGS as per PR#19013.
2. Update to 20021129.

Changes since 20020628 (from FIXES file):
        modified b.c (with tiny changes in main and run) to support
        locales, using strcoll and iswhatever tests for posix character
        classes.  thanks to ruslan ermilov ( for code.
        the function isblank doesn't seem to have propagated to any
        header file near me, so it's there explicitly.  not properly
        tested on non-ascii character sets by me.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Sep 26 17:12:43 2002 UTC (21 years, 2 months ago) by jschauma
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

According to BWK's homepage, the "the one true awk" was updated on June 28, 2002
so update this to version nawk-20020628.

Changes: (note credit to jdolecek :)

Jun 28, 2002:
modified run/format() and tran/getsval() to do a slightly better
job on using OFMT for output from print and CONVFMT for other
number->string conversions, as promised by posix and done by
gawk and mawk.  there are still places where it doesn't work
right if CONVFMT is changed; by then the STR attribute of the
variable has been irrevocably set.  thanks to arnold robbins for
code and examples.

fixed subtle bug in format that could get core dump.  thanks to
Jaromir Dolecek <> for finding and fixing.
minor cleanup in run.c / format() at the same time.

added some tests for null pointers to debugging printf's, which
were never intended for external consumption.  thanks to dave
kerns ( for pointing this out.

GNU compatibility: an empty regexp matches anything (thanks to
dag-erling smorgrav,  subject to reversion if
this does more harm than good.

pervasive small changes to make things more const-correct, as
reported by gcc's -Wwrite-strings.  as it says in the gcc manual,
may be more nuisance than useful.  provoked by a suggestion
and code from arnaud desitter,

minor documentation changes to note that this now compiles out
of the box on Mac OS X.

Feb 10, 2002:
changed types in posix chars structure to quiet solaris cc.

Jan 1, 2002:
fflush() or fflush("") flushes all files and pipes.

length(arrayname) returns number of elements; thanks to
arnold robbins for suggestion.

added a to make it easier to build on windows.
based on dan allen's buildwin.bat.

Nov 16, 2001:
added support for posix character class names like [:digit:],
which are not exactly shorter than [0-9] and perhaps no more
portable.  thanks to dag-erling smorgrav for code.

Feb 16, 2001:
removed -m option; no longer needed, and it was actually
broken (noted thanks to volker kiefel).

Feb 10, 2001:
fixed an appalling bug in gettok: any sequence of digits, +,-, E, e,
and period was accepted as a valid number if it started with a period.
this would never have happened with the lex version.

other 1-character botches, now fixed, include a bare $ and a
bare " at the end of the input.

Feb 7, 2001:
more (const char *) casts in b.c and tran.c to silence warnings.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Sep 9 20:36:32 2001 UTC (22 years, 3 months ago) by agc
Branch: MAIN
CVS Tags: pkgviews-base, pkgviews, netbsd-1-6-RELEASE-base, netbsd-1-6, netbsd-1-5-PATCH003, buildlink2-base, buildlink2
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Deprecate NO_WRKSUBDIR, replacing it with an explicit assignment of:


This is much cleaner, much more indicative of what happens, and removes
another of the negative definitions (NO_.* = value).

Revision 1.4 / (download) - annotate - [select for diffs], Sat Feb 17 09:07:22 2001 UTC (22 years, 9 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-1-5-PATCH001
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

Move the COMMENT from being in its own file to a definition in the
package Makefile.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jan 23 22:21:12 2001 UTC (22 years, 10 months ago) by jdolecek
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Update to nawk-20001115.
Changes (for detailed list, see FIXES which is part of distribution):
* various bugfixes
* allow \n explicitly in character classes
* some 8bit cleanups

Revision 1.2 / (download) - annotate - [select for diffs], Thu Apr 20 08:26:11 2000 UTC (23 years, 7 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-4-PATCH003
Changes since 1.1: +4 -2 lines
Diff to previous 1.1 (colored)

Update to 20th June 1999 sources, fixing PR 9935 from Greg Woods.

The checksum on the old package corresponded to the 19990620 source,
whilst the package thought it was 19980211. Fix package name accordingly.

Unfortunately, there is no version number or date on the awk distfile,
so put the distfile in its own uniquely-named directory.

Just for the record, there are a number of bug fixes in the 19990620

Jun 20, 1999:
        added *bp in gettok in lex.c; appears possible to exit function
        without terminating the string.  thanks to russ cox.
Jun 2, 1999:
        added function stdinit() to run to initialize files[] array,
        in case stdin, etc., are not constants; some compilers care.
May 10, 1999:
        replaced the ERROR ... FATAL, etc., macros with functions
        based on vprintf, to avoid problems caused by overrunning
        fixed-size errbuf array.  thanks to ralph corderoy for the
        impetus, and for pointing out a string termination bug in
        qstring as well.
Apr 21, 1999:
        fixed bug that caused occasional core dumps with commandline
        variable with value ending in \.  (thanks to nelson beebe for
        the test case.)
Apr 16, 1999:
        with code kindly provided by Bruce Lilly, awk now parses
        /=/ and similar constructs more sensibly in more places.
Apr 5, 1999:
        changed true/false to True/False in run.c to make it
        easier to compile with C++.  Added some casts on malloc
        and realloc to be honest about casts; ditto.  changed
        ltype int to long in struct rrow to reduce some 64-bit
        complaints; other changes scattered throughout for the
        same purpose.  thanks to Nelson Beebe for these portability
        removed some horrible pointer-int casting in b.c and elsewhere
        by adding ptoi and itonp to localize the casts, which are
        all benign.  fixed one incipient bug that showed up on sgi
        in 64-bit mode.
        reset lineno for new source file; include filename in error
        message.  also fixed line number error in continuation lines.
        (thanks to Nelson Beebe for both of these.)
Mar 24, 1999:
        Nelson Beebe notes that irix 5.3 yacc dies with a bogus
        error; use a newer version or switch to bison, since sgi
        is unlikely to fix it.
Mar 5, 1999:
        changed isnumber to is_number to avoid the problem caused by
        versions of ctype.h that include the name isnumber.
        distribution now includes a script for building on a Mac,
        thanks to Dan Allen.
Feb 20, 1999:
        fixed memory leaks in run.c (call) and tran.c (setfval).
        thanks to Stephen Nutt for finding these and providing the fixes.
Jan 13, 1999:
        replaced srand argument by (unsigned int) in run.c;
        avoids problem on Mac and potentially on Unix & Windows.
        thanks to Dan Allen.
        added a few (int) casts to silence useless compiler warnings.
        e.g., errorflag= in run.c jump().
        added proctab.c to the bundle outout; one less thing
        to have to compile out of the box.
        added calls to _popen and _pclose to the win95 stub for
        pipes (thanks to Steve Adams for this helpful suggestion).
        seems to work, though properties are not well understood
        by me, and it appears that under some circumstances the
        pipe output is truncated.  Be careful.
Oct 19, 1998:
        fixed a couple of bugs in getrec: could fail to update $0
        after a getline var; because inputFS wasn't initialized,
        could split $0 on every character, a misleading diversion.
        fixed caching bug in makedfa: LRU was actually removing
        least often used.
        thanks to ross ridge for finding these, and for providing
        great bug reports.

Revision / (download) - annotate - [select for diffs] (vendor branch), Thu Oct 15 13:19:21 1998 UTC (25 years, 1 month ago) by agc
Branch: TNF
CVS Tags: pkgsrc-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, comdex-fall-1999
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Initial import of Brian Kernighan's definitive version of new awk into
the Packages collection.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Oct 15 13:19:21 1998 UTC (25 years, 1 month ago) by agc
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>