bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: printf expert system idea; gawk printf peculiarity


From: Paul Eggert
Subject: Re: printf expert system idea; gawk printf peculiarity
Date: Sun, 28 Oct 2001 12:04:19 -0800 (PST)

> From: Aharon Robbins <address@hidden>
> Date: Sun, 28 Oct 2001 16:56:48 +0200
> 
> In the grand tradition of the C version of printf(3s), which allows you
> to silently supply extra arguments to printf, gawk also doesn't complain.
> As it's not a "gee, I can't continue" sort of error, gawk by default
> lets it go.

More than that: as I read it, POSIX 1003.1-200x draft 7 says that gawk
is _required_ to let it go, at least when running in POSIX mode.

Also, all other awk implementations that I checked (old awk, nawk,
mawk) let it go.

So I think gawk is doing the right thing here.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]