← Back to team overview

touch-packages team mailing list archive

[Bug 1462002] [NEW] dash gets backslash escaping wrong

 

Public bug reported:

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

** Affects: dash (Ubuntu)
     Importance: Undecided
         Status: New

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


Follow ups

References