[CentOS] Special characters in bash strings

2022-07-06 Thread H
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/"

Re: [CentOS] Special characters in bash strings

2022-07-06 Thread Gordon Messmer
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 expansi

Re: [CentOS] Special characters in bash strings

2022-07-06 Thread Jon LaBadie
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 va