aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMu Qiao <qiaomuf@gentoo.org>2011-07-20 16:22:33 +0800
committerMu Qiao <qiaomuf@gentoo.org>2011-07-20 16:22:33 +0800
commit53f52fea7c45a92771094af3a7dbaa637ecd397a (patch)
tree3b0bd6518177c4e40fd20b6ca8f5b5a0f9f1af4a /scripts
parentBuild: use bash to verify test scripts (diff)
downloadlibbash-53f52fea7c45a92771094af3a7dbaa637ecd397a.tar.gz
libbash-53f52fea7c45a92771094af3a7dbaa637ecd397a.tar.bz2
libbash-53f52fea7c45a92771094af3a7dbaa637ecd397a.zip
Parser: fix a bug in escaped double quote handling
The internal lexer state for handling double quotes should be changed if the double quote is escaped. Now this is fixed.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/command_execution.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/command_execution.bash b/scripts/command_execution.bash
index 33200bd..3d138fd 100644
--- a/scripts/command_execution.bash
+++ b/scripts/command_execution.bash
@@ -64,3 +64,4 @@ echo $FOO010
echo "abc #av### ##" # for comment
echo $'abc\tdef\nxyz'
echo -e "\'\"\t\n"
+echo 'quotes should be handled correctly'