aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMu Qiao <qiaomuf@gentoo.org>2012-03-26 16:08:40 +0800
committerMu Qiao <qiaomuf@gentoo.org>2012-03-26 16:35:47 +0800
commitc5fb1ffc57b41faa6118e36b2ae925561915fc6a (patch)
tree9469201ad08b72fa4be7cd7f27a38f8224b24c78 /scripts
parentWalker: allow empty case command (diff)
downloadlibbash-c5fb1ffc57b41faa6118e36b2ae925561915fc6a.tar.gz
libbash-c5fb1ffc57b41faa6118e36b2ae925561915fc6a.tar.bz2
libbash-c5fb1ffc57b41faa6118e36b2ae925561915fc6a.zip
Builtin: fix argument handling of printf builtin
Diffstat (limited to 'scripts')
-rw-r--r--scripts/command_execution.bash3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/command_execution.bash b/scripts/command_execution.bash
index 615b13f..0927642 100644
--- a/scripts/command_execution.bash
+++ b/scripts/command_execution.bash
@@ -62,6 +62,9 @@ eval "echo abc" "def" "xyz"
shopt -s extglob
printf "%s %s\n" abc def
printf "%s %s\n" $FOO001, def
+printf "123-%s" 456 789
+printf "\n"
+printf "123-%s"
((FOO010=1))
echo $FOO010
echo "abc #av### ##" # for comment