Displaying 2 results from an estimated 2 matches for "plusmor".
Did you mean:
plusmore
2018 Sep 28
4
Simple bash question
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"
when I do that I dont get what I'm expecting. if I do
MYTEXT='$1'
I still dont get what I'm expecting.
On the first assignment of MYTEXT I do not want the "$" to be treated as a
s...
2018 Sep 28
0
Simple bash question
On 28/09/2018 15:39, 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"
>
> when I do that I dont get what I'm expecting. if I do
> MYTEXT='$1'
> I still dont get what I'm expecting.
>
> On the first assignment of MYTEXT I do no...