dash gets backslash escaping wrong

Bug #1462002 reported by mjh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dash (Ubuntu)
New
Undecided
Unassigned

Bug Description

Expected behaviour: -- echo should print one \ for every escaped backslash ("\\")
$ echo "\\\\"
\\\\

Observed behaviour :
$ echo "\\" # one escaped-bs
\

$ echo "\\\\" # two escaped
\

$ echo "\\\\\\" # three escaped
\\

$ echo "\\\\\\\\" # 4 escaped
\\

Revision history for this message
mjh (moonbug1970) wrote :

Never mind, I see this has has already received the ubiquitous WONTFIX.

https://bugs.launchpad.net/ubuntu/+source/dash/+bug/259671

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.