*** This bug is a duplicate of bug 259671 ***
https://bugs.launchpad.net/bugs/259671
The backslash escape sequences are being processed by "echo", not
"read". You can avoid this inconsistency by doing something like
printf "%s\n" '000\n999' | dash -c ' read -r f ; printf "%s\n" "$f" '
** 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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/880120
Title:
read -r does not protect backslashes
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dash/+bug/880120/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs