File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ while getopts :$argnames value "$@"; do
7575 naming=$( echo -e " $varnames " | grep -E " ^$value " | cut -f2)
7676
7777 if [ -n " $OPTARG " ]; then
78- echo " $naming =\" $OPTARG \" "
78+ echo " $naming =' $OPTARG ' "
7979 else
8080 echo " $naming =-$value "
8181 fi
@@ -104,21 +104,21 @@ else
104104 # Process remaining '-' parameters
105105 for arg in $( echo $varnames | grep -E " ^-" | cut -f2) ; do
106106 if [ " $# " -gt " 0" ]; then
107- echo " $arg =$1 " && shift 1
107+ echo " $arg =' $1 ' " && shift 1
108108 fi
109109 done
110110
111111 # Process remaining '=' parameters
112112 for arg in $( echo $varnames | grep -E " ^=" | cut -f2) ; do
113113 if [ " $# " -gt " 0" ]; then
114- echo " $arg =$1 " && shift 1
114+ echo " $arg =' $1 ' " && shift 1
115115 fi
116116 done
117117
118118 # Process remaining '+' parameters
119119 for arg in $( echo $varnames | grep -E " ^\+" | cut -f2) ; do
120120 if [ " $# " -gt " 0" ]; then
121- echo " $arg =$( echo $@ | sed " s/ /\\\\ /g" ) " && shift $#
121+ echo " $arg =' $( echo $@ | sed " s/ /\\\\ /g" ) ' " && shift $#
122122 fi
123123 done
124124
You can’t perform that action at this time.
0 commit comments