Commit Graph

20 Commits

Author SHA1 Message Date
jb
34d0dd01d6 Allow awk (the one true one!) to handle 64 files instead of just 20.
The current FreeBSD syscall generation script uses all 20 and I need
another open file.

It's a shame that something named as the 'one-true-awk' is so limited
by an old denition like FOPEN_MAX when it could just make the file
handling dynamic.

This is done to avoid touching contrib sources on a vendor branch.
2008-03-27 01:33:26 +00:00
obrien
8615065701 Now that we're way past our conversion from GNU awk to BWK awk, we don't
need to primarily install as a non-conflicting name.
2008-02-28 16:41:51 +00:00
obrien
06cf08f7c6 The AWK 23-Oct-2007 release includes fixes for FreeBSD PR's bin/104795
and bin/100443.
2007-10-25 12:43:22 +00:00
delphij
99cd91d1e0 Increase inputFS buffer. awk will not accept some old scripts
otherwise.
2007-06-08 05:44:12 +00:00
rafan
5cebee462b - Update for 2007/05/01 import
Approved by:	delphij (mentor)
Nodded by:	ru
Tested by:	make universe
2007-06-05 15:35:05 +00:00
ru
9ee8843099 Fix a bug converting a variable from the numeric type to a string.
PR:		bin/104795
MFC after:	3 days
2006-10-25 21:23:20 +00:00
ru
e62cd4548c Initial memory allocation for fields was off-by-one.
PR:		bin/100443
MFC after:	3 days
2006-09-15 13:33:32 +00:00
ru
a2c9c25cbe Don't require a space between -[fv] and its argument.
PR:		bin/86514
MFC after:	3 days
2006-09-15 13:28:10 +00:00
ru
7727dbb6af Add temporary patches to make one-true-awk respect locale's collating order
in [a-z] bracket expressions, until a more complete fix (like handing BREs)
is ready.

Prodded by:	ache
OK'ed by:	tjr
2005-05-17 14:54:33 +00:00
kuriyama
f0a040c72b Use
cat ${.ALLSRC} > ${.TARGET}
rather than
	ln -sf ${.ALLSRC} ${.TARGET}
not to depends on absolute-path of symbolic links.

Commented by:  marcel, obrien, bde
2003-06-06 13:46:55 +00:00
obrien
2971bf65ab For the bwk_20030314 version, we have to -DHAS_ISBLANK now.
Oh how I wish the author had accepted my "#ifndef isblank" patch instead.
2003-03-17 08:07:54 +00:00
obrien
d81b5e34df BWK awk appears to work for world builds just fine now. We want to make
sparc64 the same as the other platforms -- so do it by moving the other
platforms toward the sparc64.
2002-05-10 20:36:21 +00:00
obrien
5f28b9b6a5 Style. 2002-04-10 03:10:03 +00:00
ru
a739220266 Style. 2002-04-09 07:05:24 +00:00
ru
ad6dee0d90 Make this compile in a standalone environment.
Tidy up CLEANFILES.
Use built-in rules for building "maketab".
2002-04-09 07:03:32 +00:00
obrien
3662a2ea16 Use our auto-YACC'ing rules to do most of the work.
Submitted by:	bde
2002-03-23 04:49:43 +00:00
obrien
7a594117fc To quote BDE: "the k part of awk should understand the ctype macros and not
need the -funsigned-char hack."

Also add needed CLEANSFILE.
2002-03-06 18:37:26 +00:00
obrien
7456ac6ec6 Simpler way to handling the names needed on the various platforms. 2002-03-06 18:06:39 +00:00
obrien
9a6aca91dd On the sparc64 platform we install the `1 true AWK' as "awk". On all other
platforms we install as "nawk".

At the moment Gawk is borked on sparc64, however BWK AWK works fine.
2002-03-05 19:37:12 +00:00
obrien
4a5f2e9cc5 Switch to the One True AWK from Bell-Labs, away from GNU AWK. 2001-10-30 08:56:50 +00:00