Mail Archives: djgpp/2000/01/22/14:51:03
-: > Is there a reason to (or not to) also include the symlink `nawk.exe' as
-: > well as `awk.exe' (both stubedited to point to gawk)?
-:
-: The reason `awk.exe' is included is because the "install:" target of the Gawk
-: Makefile creates that symlink. It does no such thing for `nawk'.
-:
-: In general, it is my opinion that a port should faithfully do what the
-: original distribution does, no more, no less.
I do agree with you here.
-: However, if adding `nawk'
-: would help, it shouldn't be a problem to do that. But I wonder if the reason
-: for doing so might be valid for other platforms as well,
Here's why I asked. The man page for nawk (from Solaris 2.7, but I
first read it in a SunOS 4.x manpage) contains the following note:
------
NOTES
nawk is a new version of awk that provides capabilities
unavailable in previous versions. This version will become
the default version of awk in the next major release.
------
I suppose this means the `next major release' of awk. Anyway, after
reading that I got into the habit of using `nawk' rather than `awk' in
scripts, etc. Maybe I should break that habit and just alias `awk' to
`nawk' on my Sun box, and both `awk' and `nawk' to `gawk' on my djgpp
box. Then I could just use `awk' everywhere and not worry it.
-: in which case I
-: suggest to report this to the Gawk maintainer.
I will do so if you think this is appropriate.
- Raw text -