hush: do not drop backslash from eval 'echo ok\'
newer bash does not drop it, most other shells too function old new delta unbackslash 39 57 +18 parse_stream 2753 2751 -2 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 18/-2) Total: 16 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
1
shell/ash_test/ash-parsing/bkslash_eof1.right
Normal file
1
shell/ash_test/ash-parsing/bkslash_eof1.right
Normal file
@ -0,0 +1 @@
|
||||
ok\
|
1
shell/ash_test/ash-parsing/bkslash_eof1.tests
Executable file
1
shell/ash_test/ash-parsing/bkslash_eof1.tests
Executable file
@ -0,0 +1 @@
|
||||
eval 'echo ok\'
|
Reference in New Issue
Block a user