0

Say I have a shell script at ~/script.sh:

TEST="$1 $2"

echo $TEST

And I run it with bash ~/script.sh "he " "he",

The output of the command will be he he, but I expected it to be he he because the first argument, which is quote, has a space as the last character of the quote.

0 Answers0