On Mon, Aug 14, 2023 at 06:40:28AM +0100, Kerin Millar wrote:
> On Mon, 14 Aug 2023 02:11:27 +
> pphick via Bug reports for the GNU Bourne Again SHell
> wrote:
>
> > If a string starts with '-e' the replacement operators ${x//,/ } and ${x/,
> > /} drop the '-e'.
> > The behaviour seems to b
On Mon, Aug 14, 2023 at 1:27 AM Eduardo Bustamante
wrote:
> The echo command is consuming the '-e', as it is a flag. Instead, try
> using:
>
> printf '%s\n' "${x/,/ }"
>
Or just redefine your echo, lol.
echo() {
local IFS=' '
printf '%s\n' "${*}"
}
Nah, just don't ever use echo for prin
On 8/11/23 4:19 PM, Martin D Kealey wrote:
On Sat, 12 Aug 2023, 02:29 Dale R. Worley, wrote:
… The line is broken into words in the same fashion as when reading
input, so that several metacharacter-separated words surrounded by quotes
are considered one word. …
I think it would be helpful
On 8/12/23 1:56 PM, Grisha Levit wrote:
The newly added support for `! &' uses the previous value of
the_printed_command_except_trap or segfaults if none has been made yet:
Thanks for the report. You're Johnny on the spot here -- I hadn't started
writing tests for this yet.
Chet
--
``The lyf