delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/22/14:51:03

Message-Id: <200001221803.MAA11680@darwin.sfbr.org>
Date: Sat, 22 Jan 2000 12:03:19 -0600 (CST)
From: Jeff Williams <jeffw AT darwin DOT sfbr DOT org>
Subject: Re: ANNOUNCE: DJGPP port of Gawk 3.0.4 uploaded
To: djgpp AT delorie DOT com
Cc: eliz AT is DOT elta DOT co DOT il
MIME-Version: 1.0
X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.3.4 SunOS 5.7 sun4u sparc
Reply-To: djgpp AT delorie DOT com

-: > 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019