Control: tag -1 upstream wontfix

On Sat, 15 Sep 2018 10:19:43 +0200 Bernd Schumacher <be...@bschu.de> wrote:
> Package: dash
> Version: 0.5.10.2-1
> Severity: normal
> 
> -- Description of the problem --
> Next commands are executed as expected:
> bs@sid:~$ dash
> $ man dash | grep "Output a backslash"
>             \\      Output a backslash.
> $ echo "\\"
> \
> $ echo "c"
> c
> $ exit
> bs@sid:~$ 
> 
> Next command is executed, but not as expected and reason for this bugreport:
> bs@sid:~$ dash
> $ echo "\\c"
> $ exit
> bs@sid:~$ 
> 
> Next commands are workarounds, that behave as expected, but without dash echo
> bs@sid:~$ dash
> $ /bin/echo "\\c"
> \c
> $ bash -c 'echo "\\c"'
> \c
> $ exit
> bs@sid:~$ 
> 
> -- My assumption --
> It seems, dash interprets "\\c" like "\c" which means that Subsequent output 
> is 
> suppressed, as shown in the manpage.
> 
> If this bugreport is considered as valid by the developers, I believe the 
> same 
> bug may also be in other shells like 'busybox sh', 'mksh' and 'posh' and I 
> will 
> double check this suspicion and report additional bug reports.

This does not appear to be a bug, since dash’s echo interprets escapes
by default:

https://www.mail-archive.com/dash@vger.kernel.org/msg01713.html

-- 
Cheers,
  Andrej

Reply via email to