From 0a77e5a8419b55f7b09c5cd3e40e4c9391cde0a7 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Nov 26 2010 20:50:41 +0000 Subject: Update cli_doParseArgumentsReDef.sh file. --- diff --git a/Scripts/Bash/Functions/cli_doParseArgumentsReDef.sh b/Scripts/Bash/Functions/cli_doParseArgumentsReDef.sh index 113fc6d..6ee9579 100755 --- a/Scripts/Bash/Functions/cli_doParseArgumentsReDef.sh +++ b/Scripts/Bash/Functions/cli_doParseArgumentsReDef.sh @@ -32,9 +32,11 @@ function cli_doParseArgumentsReDef { ARGUMENTS='' # Fill up arguments global variable with current positional - # parameter information. + # parameter information. To avoid interpretation problems, use + # single quotes to enclose each argument (ARG) from command-line + # idividually. for ARG in "$@"; do - ARGUMENTS="$ARGUMENTS \"$ARG\"" + ARGUMENTS="$ARGUMENTS '$ARG'" done }