Subject: Re: Linux's printf() extensions
To: Lucio de Re <>
From: Todd Vierling <>
List: tech-userlevel
Date: 09/24/1998 21:42:35
On Thu, 24 Sep 1998, Lucio de Re wrote:

: One could make that an implementation proviso, namely that scanning has 
: to start at $1 and will forcibly be terminated at $N where $N is the 
: largest consecutive counter.

Point of information:  the SUS98/XPG formatting extension is %N$q, not
%$Nq.  The number is *between* the % and $.

: One might also want to allow for a "skip" field along the lines of 
: scanf()'s %* to assist where arguments must legitimately be left out.  
: Sounds a bit of a botch, but it would serve some purpose.

According to the spec, you must use consecutive arguments starting at 1, as
was clarified by someone else.

-- Todd Vierling (Personal; Bus.