Home > database >  A shell script
A shell script

Time:10-26

Encountered such a problem today, inside the function can't use a parameter values assigned to parameters

CodePudding user response:

Echo "$1"
Should be in quotes

CodePudding user response:

reference 1st floor SuperDay response:
echo "$1"
Should be to use quotes

Figure it out, is not the problem, because the parameter value cannot be assigned to the parameter value of $1 and $2 is the parameter value
  • Related