[CentOS] Simple bash question

Fri Sep 28 13:46:42 UTC 2018
Gary Stainburn <gary at ringways.co.uk>

On Friday 28 September 2018 14:39:29 Jerry Geis wrote:
> I am calling a bash script and passing in somestring that includes a "$"
> myscript   "$plusmore"
> I want to assign in the myscript the $1 arg to something like
> MYTEXT="$1"

Hi Jerry,

The problem is that bu the time you're in your script it's already too late.

myscript   "$plusmore"

basically says take the contents of the environment plusmore and pass that to 
the script.

if you call

myscript   '$plusmore'

you will get what you want.