2023-09-01 23:28:50 +0200, Steffen Nurpmeso 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=Sh\
> |ell)
> |
> |That likely returns only a small subset
A NOTE has been added to this issue.
==
https://austingroupbugs.net/view.php?id=1771
==
Reported By:calestyo
Assigned To:
===
Date:Sat, 2 Sep 2023 09:01:06 +
From:"Austin Group Bug Tracker via austin-group-l at The Open
Group"
Message-ID:
| If we don't deprecate %b now, the alternative is to deprecate it in Issue 9
Why? I don't mean why is that not a consequent of the condition,
Stephane Chazelas wrote in
<20230902084912.vdfedsgbnat2w...@chazelas.org>:
|2023-09-01 23:28:50 +0200, Steffen Nurpmeso 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%3
Date:Fri, 1 Sep 2023 07:15:14 -0500
From:"Eric Blake via austin-group-l at The Open Group"
Message-ID:
| > That is dependant on the current value of $IFS. You'd need:
| >
| > xsi_echo() (
| > IFS=' '
| > printf '%b\n' "$*"
| > )
|
| So yes, the
2023-09-03 08:27:58 +0700, Robert Elz via austin-group-l at The Open Group:
[...]
> The SysIII echo (abomination) can be done using printf %b independant
> of IFS:
>
> echo() { printf '%b ' "$@"\\n\\c; }
>
> works.
Nice, though has the same limitation as my bash echo -e "$*\n\c"
$ echo()