* 0.5.11.3: fyi: reverse solidus "expanded away"
@ 2021-05-12 21:36 Steffen Nurpmeso
2021-05-12 23:06 ` Harald van Dijk
0 siblings, 1 reply; 3+ messages in thread
From: Steffen Nurpmeso @ 2021-05-12 21:36 UTC (permalink / raw)
To: DASH shell mailing list
Hello.
Just fyi, i stumbled upon this a minute ago:
#?0|kent:steffen$ echo du \\\\\
> hey
du \\hey
That was bash 5.1.8.
#?0|kent:steffen$ dash
#kent:$ echo du \\\\\
> das
du \das
#kent:$
This is dash 0.5.11.3 (compiled by gcc (CRUX-x86_64-multilib)
10.2.0 on 2020-12-26), running on CRUX-Linux via glibc 2.32/3.
Ciao,
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 0.5.11.3: fyi: reverse solidus "expanded away"
2021-05-12 21:36 0.5.11.3: fyi: reverse solidus "expanded away" Steffen Nurpmeso
@ 2021-05-12 23:06 ` Harald van Dijk
2021-05-12 23:27 ` Steffen Nurpmeso
0 siblings, 1 reply; 3+ messages in thread
From: Harald van Dijk @ 2021-05-12 23:06 UTC (permalink / raw)
To: Steffen Nurpmeso, DASH shell mailing list
On 12/05/2021 22:36, Steffen Nurpmeso wrote:
> Hello.
>
> Just fyi, i stumbled upon this a minute ago:
>
> #?0|kent:steffen$ echo du \\\\\
> > hey
> du \\hey
>
> That was bash 5.1.8.
>
> #?0|kent:steffen$ dash
> #kent:$ echo du \\\\\
> > das
> du \das
> #kent:$
>
> This is dash 0.5.11.3 (compiled by gcc (CRUX-x86_64-multilib)
> 10.2.0 on 2020-12-26), running on CRUX-Linux via glibc 2.32/3.
> Ciao,
This is expected as dash's echo always processes backslashes. bash will
give the same output when its xpg_echo option is enabled.
Cheers,
Harald van Dijk
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 0.5.11.3: fyi: reverse solidus "expanded away"
2021-05-12 23:06 ` Harald van Dijk
@ 2021-05-12 23:27 ` Steffen Nurpmeso
0 siblings, 0 replies; 3+ messages in thread
From: Steffen Nurpmeso @ 2021-05-12 23:27 UTC (permalink / raw)
To: Harald van Dijk; +Cc: DASH shell mailing list
Harald van Dijk wrote in
<71144bd0-153d-f144-efd4-7600a2f96740@gigawatt.nl>:
|On 12/05/2021 22:36, Steffen Nurpmeso wrote:
|> Just fyi, i stumbled upon this a minute ago:
|>
|> #?0|kent:steffen$ echo du \\\\\
|>> hey
|> du \\hey
|>
|> That was bash 5.1.8.
|>
|> #?0|kent:steffen$ dash
|> #kent:$ echo du \\\\\
|>> das
|> du \das
|> #kent:$
...
|This is expected as dash's echo always processes backslashes. bash will
|give the same output when its xpg_echo option is enabled.
Ah, ok. Thank you, and sorry for the noise.
Ciao,
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-05-12 23:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-12 21:36 0.5.11.3: fyi: reverse solidus "expanded away" Steffen Nurpmeso
2021-05-12 23:06 ` Harald van Dijk
2021-05-12 23:27 ` Steffen Nurpmeso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).