Subject: Re: posix mode for nawk
To: None <thorpej@zembu.com>
From: Jaromír Dolecek <jdolecek@NetBSD.org>
List: tech-userlevel
Date: 02/09/2001 01:44:53
Jason R Thorpe wrote:
> We should make sure that there is a flag to awk that disables all
> of the non-POSIX (or, non-SUSv2) features.
>
> ...maybe refrences to these functions should cause a warning unless
> argv[0] == "gawk"? :-) (1/2 kidding)
Note that awk (a.k.a. nawk) already had some nonstandard features
before, like fflush() or \x support.
I definitely think about adding a -Wposix/--posix flag.
Jaromir
--
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.ics.muni.cz/~dolecek/
@@@@ Wanna a real operating system ? Go and get NetBSD, dammit! @@@@