[X-Unix] awk

Eugene Lee list-themacintoshguy at fsck.net
Wed Jan 7 09:41:50 PST 2004


On Wed, Jan 07, 2004 at 12:22:23PM -0500, William H. Magill wrote:
: On 07 Jan, 2004, at 11:42, Robert Frank wrote:
: >On 07/01/2004, at 15:16, Mac OS X Unix wrote:
: >
: >>At 12:41 -0600 2004/01/06, mac2 mail wrote:
: >>>On this note, does OS X ship with an actual copy of awk, or is it
: >>>gawk or nawk??
: >>
: >>I'm pretty sure all the unix utilities on OS X are GNU, so that
: >>would be gawk.
: >>
: >string on /usr/bin/awk shows a netBSD ident ...
: 
: There are annoying differences between "standard Unix" versions of the 
: utilities and their GNU counterparts. Usually they Unix versions are 
: compatible with the GNU versions, but the GNU versions are not 
: compatible with the Unix versions.   ... Just as scripts written for 
: /bin/sh will work in /bin/ksh or /bin/bash ... scripts written for 
: either ksh or zsh will not run in sh.

Too bad /bin/bash is the same as /bin/sh.  :-)


-- 
Eugene Lee
http://www.coxar.pwp.blueyonder.co.uk/



More information about the X-Unix mailing list