hush: fix bug 353 (wrong handling of \x in assignments)

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2009-05-28 16:49:11 +02:00
parent 5d7cca2090
commit e640cb4ad1
3 changed files with 31 additions and 22 deletions

View File

@@ -0,0 +1,9 @@
a\nb\nc\n
a
b
c
a\nb\nc\n
a
b
c
Done

View File

@@ -0,0 +1,7 @@
v="a\nb\nc\n"
echo "$v"
printf "$v"
v='a\nb\nc\n'
echo "$v"
printf "$v"
echo Done