From a93dc564f1cf8e0668a1889a6ec01991c3ae96cc Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Fri, 1 Jan 2021 22:00:46 +0100 Subject: [PATCH] fix typo's provided by @dcoomber --- bashbot.sh | 4 ++-- examples/background-scripts/run_diskusage.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bashbot.sh b/bashbot.sh index 4a39e4f..4944fdd 100755 --- a/bashbot.sh +++ b/bashbot.sh @@ -30,13 +30,13 @@ # 8 - curl/wget missing # 10 - not bash! # -#### $$VERSION$$ v1.21-pre-12-ged1cc4a +#### $$VERSION$$ v1.21-pre-13-g9cca55b ################################################################## # emmbeded system may claim bash but it is not # check for bash like ARRAY handlung if ! (unset a; set -A a a; eval "a=(a b)"; eval '[ -n "${a[1]}" ]'; ) > /dev/null 2>&1; then - printf "Error: Current shell does not support ARRAY's, may be busbox ash shell. pls install a real bash!\n" + printf "Error: Current shell does not support ARRAY's, may be busybox ash shell. pls install a real bash!\n" exit 10 fi diff --git a/examples/background-scripts/run_diskusage.sh b/examples/background-scripts/run_diskusage.sh index 7e0376d..08eefe5 100755 --- a/examples/background-scripts/run_diskusage.sh +++ b/examples/background-scripts/run_diskusage.sh @@ -1,10 +1,10 @@ #!/bin/bash -# file: run_diskcusage.sh +# file: run_diskusage.sh # example for an background job display a system value # # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) -#### $$VERSION$$ v1.20-0-g2ab00a2 +#### $$VERSION$$ v1.21-pre-13-g9cca55b ###### # parameters @@ -37,7 +37,7 @@ fi NEWLINE=$'\n' -# output disk usgae every $1 seconds +# output disk usage every $1 seconds WAIT=0 while sleep $WAIT do