On Thu 2021-06-17 14:26:01 -0400, Alex Pilon wrote:
> On Thu 2021-06-17 13:43:43 -0400, Ian! D. Allen wrote:
> > As others have said, quoting (even double quoting) hides tilde expansion.
> > Just make sure the tilde isn't inside quotes and it works fine:
> >
> >     DIR=~/"Something"
>
> Strictly speaking per spec this won't work. Tilde expansion happens
> before parameter substitution. If it happens in any other order, that is
> undefined behaviour and a portability issue.

I misread that. That's my fault. I was thinking of some other thread
when referring to other users.

Ian's right.

Apologies for the spam list.

To unsubscribe send a blank message to linux+unsubscr...@linux-ottawa.org
To get help send a blank message to linux+h...@linux-ottawa.org
To visit the archives: https://lists.linux-ottawa.org

Reply via email to