[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ~ and $HOME expansion in { .. , .. } lists
From: |
ikhxcsz7y xmbott |
Subject: |
Re: ~ and $HOME expansion in { .. , .. } lists |
Date: |
Mon, 9 Dec 2024 14:20:47 +0100 |
thank you big time mate .. +++
~ $ echo {,~}/a
/a /data/data/com.termux/files/home/a
~ $ echo {,$HOME}/a
/a /data/data/com.termux/files/home/a
~ $ HOMEFOO=bbb
~ $ echo {,$HOME}FOO
FOO bbb
is it new vars can be expanded like this ?
anyway , great support , ++
On Mon, Dec 9, 2024, 2:17 PM Greg Wooledge <greg@wooledge.org> wrote:
> On Mon, Dec 09, 2024 at 14:10:47 +0100, microsuxxor wrote:
> > ~ $ echo {,$HOME}FOO
> > FOO
>
> hobbit:~$ echo {,"$HOME"}FOO
> FOO /home/gregFOO
>
> You are getting an empty result from the expansion of $HOMEFOO.
>
>