Subject: README: nawk vs. gawk
To: None <current-users@netbsd.org>
From: Jaromír Dolecek <jdolecek@netbsd.org>
List: current-users
Date: 02/01/2001 10:21:29
Hi folks,
recently, there was nawk added to the tree. It's faster than gawk and
has more friendly licence, so it is being considered as future replacement 
of gawk.

However, to avoid problems once we'd switch to it, it would be cool
if you could try use it instead of gawk NOW. This way nawk would
get more testing and hopefully potential issues would be resolved
before it'd be the default awk.

If you do regular tree builds, a patch to switch
to build & install nawk instead of gawk is appended on end of this e-mail.
Optionally, you might build and install nawk package - the pkg
is same as the version in tree. Once nawk package is installed,
backup /usr/bin/awk and replace it with nawk.

There might be some gawk dependencies in NetBSD build tree. If you'd encounter
any, please send-pr it, so that it gets fixed. If you find any bug,
gawk feature nawk doesn't have or if you think anything needs improvement,
send-pr it so that we know about it and so that it can be handled.

Thanks for your cooperation.

Jaromir

The patch:

Index: usr.bin/Makefile
===================================================================
RCS file: /cvsroot/basesrc/usr.bin/Makefile,v
retrieving revision 1.118
diff -u -u -r1.118 Makefile
--- usr.bin/Makefile	2001/01/13 20:11:49	1.118
+++ usr.bin/Makefile	2001/02/01 09:12:21
@@ -3,7 +3,7 @@
 
 .include <bsd.own.mk>
 
-SUBDIR=	apply apropos asa at audio banner basename biff \
+SUBDIR=	apply apropos asa at audio awk banner basename biff \
 	bzip2 bzip2recover cal calendar cap_mkdb cdplay checknr chflags \
 	chpass cksum cmp col colcrt colrm column comm compress \
 	crontab crunch ctags cut dirname du eject elf2aout elf2ecoff env \
Index: gnu/usr.bin/Makefile
===================================================================
RCS file: /cvsroot/gnusrc/gnu/usr.bin/Makefile,v
retrieving revision 1.100
diff -u -u -r1.100 Makefile
--- gnu/usr.bin/Makefile	2001/01/13 10:49:06	1.100
+++ gnu/usr.bin/Makefile	2001/02/01 09:12:21
@@ -3,7 +3,7 @@
 # for OBJECT_FMT
 .include <bsd.own.mk>
 
-SUBDIR+=	bc binutils cvs dc diff diff3 egcs gas.new gawk gdb grep gprof
+SUBDIR+=	bc binutils cvs dc diff diff3 egcs gas.new gdb grep gprof
 SUBDIR+=	groff gzip ld.new rcs sdiff send-pr texinfo
 
 SUBDIR+=	cpio
-- 
Jaromir Dolecek <jdolecek@NetBSD.org>      http://www.ics.muni.cz/~dolecek/
@@@@  Wanna a real operating system ? Go and get NetBSD, dammit!  @@@@