Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Nov 2001 10:40:07 -0800
From:      Bill Fenner <fenner@research.att.com>
To:        wollman@khavrinen.lcs.mit.edu
Cc:        david@catwhisker.org, current@freebsd.org, obrien@freebsd.org
Subject:   Re: buildworld breakage during "make depend" at usr.bin/kdump
Message-ID:  <200111011840.KAA23489@windsor.research.att.com>
References:   <200110312159.f9VLx1I45943@bunrab.catwhisker.org> <200111010549.fA15nPG47227@bunrab.catwhisker.org> <200111011614.fA1GE8P25519@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

>> For the regex/doc/Makefile, it seems that gawk allows the value for -v
>> to be adjacent to the -v itself, while the -CURRENT awk works better if
>> there is whitespace separating them.
>
>This would be another bug if true.

Perhaps in breaking backwards compatability with gawk, but
IEEE Std 1003.1-200x says:

The awk utility shall conform to the Base Definitions volume of IEEE
Std 1003.1-200x, Section 12.2, Utility Syntax Guidelines.

...

12.2         Utility Syntax Guidelines
...
Guideline 6:        Each option and option-argument should be a separate
                    argument, except as noted in Section 12.1 (on page
                    199), item (2).

I don't think that any of the exceptions in section 12.1 item (2) apply
to awk's -v argument.  POSIX *permits* but does not *require* the
gawk behavior.

  Bill

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111011840.KAA23489>