← Back to team overview

touch-packages team mailing list archive

[Bug 1462002] Re: dash gets backslash escaping wrong

 

*** 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
Touch seeded packages, 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


References