coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] printf: add %#s alias to %b


From: Zachary Santer
Subject: Re: [PATCH] printf: add %#s alias to %b
Date: Thu, 7 Sep 2023 15:20:44 -0400

On Thu, Sep 7, 2023 at 12:55 PM Robert Elz <kre@munnari.oz.au> wrote:

> There are none, printf(3) belongs to the C committee, and they can make
> use of anything they like, at any time they like.
>
> The best we can do is use formats that make no sense for printf(1) to
> support
>

That's still assuming the goal of minimizing the discrepancies between
printf(1) and printf(3) format specifiers. As you point out, that isn't
particularly useful, and these things diverging further is now a foregone
conclusion. The only benefit, from my perspective, is allowing the
printf(1) man page to simply reference the printf(3) man page for
everything that printf(1) attempts to replicate.

Zack


reply via email to

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