From owner-freebsd-current Thu Nov 1 11: 6:50 2001 Delivered-To: freebsd-current@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 50E2837B401 for ; Thu, 1 Nov 2001 11:06:44 -0800 (PST) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.11.4/8.11.4) id fA1J6gJ26843; Thu, 1 Nov 2001 14:06:42 -0500 (EST) (envelope-from wollman) Date: Thu, 1 Nov 2001 14:06:42 -0500 (EST) From: Garrett Wollman Message-Id: <200111011906.fA1J6gJ26843@khavrinen.lcs.mit.edu> To: Bill Fenner Cc: current@freebsd.org Subject: Re: buildworld breakage during "make depend" at usr.bin/kdump In-Reply-To: <200111011840.KAA23489@windsor.research.att.com> References: <200110312159.f9VLx1I45943@bunrab.catwhisker.org> <200111010549.fA15nPG47227@bunrab.catwhisker.org> <200111011614.fA1GE8P25519@khavrinen.lcs.mit.edu> <200111011840.KAA23489@windsor.research.att.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG < said: > Perhaps in breaking backwards compatability with gawk, but > IEEE Std 1003.1-200x says: > 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. I don't think that this is the intended interpretation. I believe that this is intended to prohibit programs (like old-style `cc' and `tar', for two very different examples) which require options or option-arguments to be in a single argument (e.g., `-L/foo/bar' or `xvf'). See section 12.1, paragraph (2)(c): # c. Notwithstanding the preceding requirements on conforming # applications, a conforming implementation shall permit an # application to specify options and option-arguments as a single # argument or as separate arguments whether or not a is shown # on the synopsis line, except [XSI case deleted] What this is saying is that users are supposed to separate all arguments (or not) according to how they are shown in the Standard, but with few exceptions the implementation is not allowed to require this. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message