bug-bash
[Top][All Lists]
Advanced

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

Re: bug#65659: RFC: changing printf(1) behavior on %b


From: Léa Gris
Subject: Re: bug#65659: RFC: changing printf(1) behavior on %b
Date: Sat, 2 Sep 2023 12:46:18 +0200
User-agent: Telnet/1.0 [tlh] (PDP11/DEC)

Le 02/09/2023 à 07:46, Phi Debian écrivait :
On Fri, Sep 1, 2023 at 8:10 PM Stephane Chazelas <stephane@chazelas.org>
wrote:

2023-09-01 07:54:02 -0500, Eric Blake via austin-group-l at The Open Group:


FWIW, a "printf %b" github shell code search returns ~ 29k
entries
(
https://github.com/search?q=printf+%25b+language%3AShell&type=code&l=Shell
)


Ha super, at least some numbers :-), I didn't knew we could make this kind
of request... thanx for that.

18k results on <https://github.com/search?q=%2Fprintf%5B%5B%3Aspace%3A%5D%5D%2B%5B%22%27%5D%3F%5B%5E%22%27%5D*%25b%2F+language%3AShell&type=code>

Those actual numbers vary a lot depending on request accuracy. Because there is no Regex replacement for a shell language parser; it cannot match all syntactically valid use cases, even with a carefully crafted Regex.

--
Léa Gris


reply via email to

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