Closed ghost closed 3 years ago
You should change the variable name to something other than _ because it's used by the shell:
_
echo 'Hello word' echo $_
Here echo $_ outputs Hello word. You could use null instead of _.
echo $_
Hello word
null
Meh, I just changed it to REPLY, though it's not used.
REPLY
You should change the variable name to something other than
_
because it's used by the shell:Here
echo $_
outputsHello word
. You could usenull
instead of_
.