summaryrefslogtreecommitdiffhomepage
path: root/shell/hush_test
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-07-06 19:50:42 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-07-06 19:50:42 +0200
commit74d20e637982b412611dbbf32b633857b1c73539 (patch)
treeb9290c971315c56116cd7395a82cc5d9c77e1938 /shell/hush_test
parent5dad7bdc3bdad8e9934d45301d5a8c51e843cd7b (diff)
typo fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test')
-rwxr-xr-xshell/hush_test/hush-vars/var_bash1a.tests2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/hush_test/hush-vars/var_bash1a.tests b/shell/hush_test/hush-vars/var_bash1a.tests
index 551dd9acc..c75c2dc53 100755
--- a/shell/hush_test/hush-vars/var_bash1a.tests
+++ b/shell/hush_test/hush-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}'"