summaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-04-11 01:15:33 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2018-04-11 01:15:33 +0200
commit89e9d5534d0e8879803ed9dbb25dff3989c31202 (patch)
treeb1f7c630418dd97e4fad62d114381d0297460d52 /shell/ash.c
parent3632cb15f16a7596a68dccfd66a2ad9496bf9fd9 (diff)
downloadbusybox-w32-89e9d5534d0e8879803ed9dbb25dff3989c31202.tar.gz
busybox-w32-89e9d5534d0e8879803ed9dbb25dff3989c31202.tar.bz2
busybox-w32-89e9d5534d0e8879803ed9dbb25dff3989c31202.zip
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>
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 713219b6e..6f8bc9042 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -203,7 +203,7 @@
203 * TODO: 203 * TODO:
204 * singleword+noglob expansion: 204 * singleword+noglob expansion:
205 * v='a b'; [[ $v = 'a b' ]]; echo 0:$? 205 * v='a b'; [[ $v = 'a b' ]]; echo 0:$?
206 * [[ /bin/* ]]; echo 0:$? 206 * [[ /bin/n* ]]; echo 0:$?
207 * -a/-o are not AND/OR ops! (they are just strings) 207 * -a/-o are not AND/OR ops! (they are just strings)
208 * quoting needs to be considered (-f is an operator, "-f" and ""-f are not; etc) 208 * quoting needs to be considered (-f is an operator, "-f" and ""-f are not; etc)
209 * = is glob match operator, not equality operator: STR = GLOB 209 * = is glob match operator, not equality operator: STR = GLOB