@host “echo ${HOME}; exit”
[bob@localhost bob]# /home/bob
Greg
From: CentOS on behalf of H
Date: Wednesday, July 6, 2022 at 21:41
To: Centos Mailing List
Subject: [CentOS] Special characters in bash strings
[EXTERNAL] This email originated from outside of the organization. Do not click
links
On 07/07/2022 12:52 AM, Jon LaBadie wrote:
> On Wed, Jul 06, 2022 at 09:41:14PM -0400, H wrote:
>> I have run into a bash variable string problem that I think I have nailed
>> down to the variable string containing a tilde (~). Not sure if my
>> conclusion is correct and could use some help.
>>
On 07/06/2022 11:27 PM, Chris Schanzle wrote:
> Agree with Gordon's other response having specific examples of where it
> worked and didn't work would help us help you, but these things can get messy
> quickly.
>
> Since you quoted the tilde path, it is not expanded when assigned to your
>
On 07/06/2022 10:42 PM, Gordon Messmer wrote:
> On 7/6/22 18:41, H wrote:
>> To my consternation this worked fine in some places but not in others.
>
>
> It might be easier to explain if you had an example of where it worked. The
> bash man page has a section titled "EXPANSION" that details the
On Wed, Jul 06, 2022 at 09:41:14PM -0400, H wrote:
I have run into a bash variable string problem that I think I have nailed down
to the variable string containing a tilde (~). Not sure if my conclusion is
correct and could use some help.
To make a long(er) story short, an associative array
On 7/6/22 18:41, H wrote:
To my consternation this worked fine in some places but not in others.
It might be easier to explain if you had an example of where it worked.
The bash man page has a section titled "EXPANSION" that details the
order in which expansions happen. Since tilde
I have run into a bash variable string problem that I think I have nailed down
to the variable string containing a tilde (~). Not sure if my conclusion is
correct and could use some help.
To make a long(er) story short, an associative array variable was created:
p[work_path]="~/projects/test/"
7 matches
Mail list logo