Subject: ./build.sh: problem with awk script
To: None <netbsd-users@netbsd.org>
From: Aleksey Cheusov <cheusov@tut.by>
List: netbsd-users
Date: 09/08/2006 23:25:33
NetBSD-3.1-RC2 sources
$ ./build.sh [OPTIONS] distribution
...
   === Removing obsolete files ===
sh /srv/src/usr.sbin/postinstall/postinstall -s /srv/src -d /srv/obj/destdir/ fix obsolete
Source directory: /srv/src
Target directory: /srv/obj/destdir/
obsolete fix:
awk: cmd. line:32: warning: escape sequence `\.' treated as plain `.'
awk: cmd. line:32: warning: escape sequence `\.' treated as plain `.'
awk: cmd. line:32: warning: escape sequence `\.' treated as plain `.'
awk: cmd. line:32: warning: escape sequence `\.' treated as plain `.'


This message is produced by gawk.
For what reasons gawk package
installs /usr/pkg/bin/awk file (symlink to gawk)?

TODO ;-)
1) \. should be changed to [.] in awk scripts to make them more portable
2) it is _probably_ better to remove /usr/pkg/bin/awk file
   from gawk package.

-- 
Best regards, Aleksey Cheusov.