Le 02/09/2023 à 07:46, Phi Debian écrivait :
On Fri, Sep 1, 2023 at 8:10 PM Stephane Chazelas <steph...@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