From 89e9d5534d0e8879803ed9dbb25dff3989c31202 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 11 Apr 2018 01:15:33 +0200 Subject: 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 --- shell/ash_test/ash-parsing/bkslash_eof1.tests | 1 + 1 file changed, 1 insertion(+) create mode 100755 shell/ash_test/ash-parsing/bkslash_eof1.tests (limited to 'shell/ash_test/ash-parsing/bkslash_eof1.tests') diff --git a/shell/ash_test/ash-parsing/bkslash_eof1.tests b/shell/ash_test/ash-parsing/bkslash_eof1.tests new file mode 100755 index 000000000..97629cb13 --- /dev/null +++ b/shell/ash_test/ash-parsing/bkslash_eof1.tests @@ -0,0 +1 @@ +eval 'echo ok\' -- cgit v1.2.3