Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 4
    see unix.stackexchange.com/questions/65803/… Commented Nov 6, 2016 at 12:42
  • 2
    That's quite helpful. Although it doesn't directly cover the \\\\ sequence, it explains why things might be the way they are in dash, and points to the solution: use printf, which is more portable in its treatment of escape sequences. Thanks Commented Nov 6, 2016 at 13:19
  • 1
    It should rather be Why bash output is different from bash's?. It's the dash version that is standard here. Commented Nov 6, 2016 at 21:43