hush: fix improper handling of newline and hash chars in few corner cases
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
This commit is contained in:
2
shell/hush_test/hush-misc/assignment3.right
Normal file
2
shell/hush_test/hush-misc/assignment3.right
Normal file
@@ -0,0 +1,2 @@
|
||||
Done:0
|
||||
abc=123
|
5
shell/hush_test/hush-misc/assignment3.tests
Executable file
5
shell/hush_test/hush-misc/assignment3.tests
Executable file
@@ -0,0 +1,5 @@
|
||||
# This must be interpreted as assignments
|
||||
a=1 b\
|
||||
=2 c=3
|
||||
echo Done:$?
|
||||
echo abc=$a$b$c
|
Reference in New Issue
Block a user