From 74d20e637982b412611dbbf32b633857b1c73539 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 6 Jul 2017 19:50:42 +0200 Subject: [PATCH] typo fix Signed-off-by: Denys Vlasenko --- shell/ash_test/ash-vars/var_bash1a.tests | 2 +- shell/hush_test/hush-vars/var_bash1a.tests | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/ash_test/ash-vars/var_bash1a.tests b/shell/ash_test/ash-vars/var_bash1a.tests index 551dd9acc..c75c2dc53 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}'" 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}'" -- 2.25.1