[Bug 1462002] Re: dash gets backslash escaping wrong

Gioele Barabucci 1462002 at bugs.launchpad.net
Sun Dec 6 02:15:06 UTC 2015


*** This bug is a duplicate of bug 259671 ***
    https://bugs.launchpad.net/bugs/259671

** This bug has been marked a duplicate of bug 259671
   dash: echo builtin interprets backslash escape sequences

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dash in Ubuntu.
https://bugs.launchpad.net/bugs/1462002

Title:
  dash gets backslash escaping wrong

Status in dash package in Ubuntu:
  New

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
  \\

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dash/+bug/1462002/+subscriptions



More information about the foundations-bugs mailing list