From 14a55c380ebca24f4105d953ca3a433fe1b8abcd Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jul 20 2012 03:20:21 +0000 Subject: Update cli_getConfigValue.sh --- diff --git a/Scripts/Bash/Functions/Commons/cli_getConfigValue.sh b/Scripts/Bash/Functions/Commons/cli_getConfigValue.sh index 4b54ec6..aafc367 100755 --- a/Scripts/Bash/Functions/Commons/cli_getConfigValue.sh +++ b/Scripts/Bash/Functions/Commons/cli_getConfigValue.sh @@ -44,7 +44,7 @@ function cli_getConfigValue { # Parse configuration lines to retrive the values of variable # names. local CONFIG_VARVALUE=$(echo $CONFIG_LINES \ - | gawk 'BEGIN { FS="=" } { print $2 }' \ + | cut -d'=' -f2- \ | sed -r 's/^"(.*)"$/\1/') # Output values related to variable name.