summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-vars/var_bash1a.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash_test/ash-vars/var_bash1a.tests')
-rwxr-xr-xshell/ash_test/ash-vars/var_bash1a.tests2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash_test/ash-vars/var_bash1a.tests b/shell/ash_test/ash-vars/var_bash1a.tests
index 551dd9a..c75c2dc 100755
--- a/shell/ash_test/ash-vars/var_bash1a.tests
+++ b/shell/ash_test/ash-vars/var_bash1a.tests
@@ -5,7 +5,7 @@ echo "parameter '${parameter}'"
echo "varoffset2 '${parameter:${offset}}'"
echo "varoffset-2 '${parameter:${noffset}}'"
echo "literal '2' '${parameter:2}'"
-# This is not inrpreted as ${VAR:POS{:LEN}},
+# This is not interpreted as ${VAR:POS{:LEN}},
# but as ${VAR:=WORD} - if VAR is unset or null, substitute WORD
echo "literal '-2' '${parameter:-2}'"
echo "literal ' -2' '${parameter: -2}'"