From b595cc0fb5f0dafe3604f2d2d4915de1acd9c754 Mon Sep 17 00:00:00 2001 From: hlein Date: Mon, 6 Mar 2017 00:41:21 -0700 Subject: Various cleanups (#363) * Typo fix. * Style change: always use $(), never ``. The Lynis code already mostly used $(), but backticks were sprinkled around. Converted all of them. * Lots of minor spelling/typo fixes. FWIW these were found with: find . -type f -print0 | xargs -0 cat | aspell list | sort -u | egrep '^[a-z]+$' | less And then reviewing the list to pick out things that looked like misspelled words as opposed to variables, etc., and then manual inspection of context to determine the intention. --- include/parameters | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/parameters') diff --git a/include/parameters b/include/parameters index 878fa63f..1b095fab 100644 --- a/include/parameters +++ b/include/parameters @@ -287,7 +287,7 @@ --plugindir | --plugin-dir | --plugins-dir) shift PLUGINDIR=$1 - LASTCHAR=`echo $1 | awk '{ print substr($0, length($0))}'` + LASTCHAR=$(echo $1 | awk '{ print substr($0, length($0))}') if [ "${LASTCHAR}" = "/" ]; then echo "${RED}Error:${WHITE} plugin directory path should not end with a slash${NORMAL}" ExitCustom 65 -- cgit v1.2.3