On Fri, Sep 28, 2018 at 09:39:29AM -0400, Jerry Geis wrote:
> I am calling a bash script and passing in somestring that includes a "$"
>
> myscript "$plusmore"
myscript '$plusmore'
should work. note the single quotes.
If you can't use single quotes, I don't know how to use it,, but there
is
he
message.
From: CentOS on behalf of Anand Buddhdev
Sent: Friday, September 28, 2018 8:51 AM
To: CentOS mailing list; Jerry Geis
Subject: [EXTERNAL] Re: [CentOS] Simple bash question
On 28/09/2018 15:39, Jerry Geis wrote:
> I am calling a bash script and passing in somestring th
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'
>
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 s
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 assignmen
5 matches
Mail list logo