RE: [Bug 259671] Re: dash parses backslashes in single quotes

2010-05-19 Thread Edward Crichton
ound would be to use printf in place of echo when using ubuntu? This would work reliably on other versions of sh? > Date: Fri, 14 May 2010 22:55:17 + > From: jil...@stack.nl > To: edwardcrich...@hotmail.com > Subject: [Bug 259671] Re: dash parses backslashes in single quotes > &

[Bug 259671] Re: dash parses backslashes in single quotes

2010-05-14 Thread Jilles Tjoelker
The issue is not with the single quotes, but with dash's echo builtin. Apparently, the way they are compiled and configured by default on Ubuntu, dash's echo builtin interprets backslash escape sequences while bash's does not. According to POSIX, this interpretation is permitted; with the XSI opti

[Bug 259671] Re: dash parses backslashes in single quotes

2010-04-24 Thread Nonconventionally Creative
** Description changed: - In dash, backslashes are parsed within single quotes, contradicting the man page, as well as the behavior of other common /bin/sh implementations. - (Does POSIX mention anything?) + In dash, backslashes are parsed within single quotes, contradicting POSIX and it's own m