Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16597

Re: Assignment-like word shouldn't be subjected to tilde expansion in POSIX mode

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups gnu.bash.bug
Subject Re: Assignment-like word shouldn't be subjected to tilde expansion in POSIX mode
Date 2020-07-21 07:48 -0400
Message-ID <mailman.278.1595332156.24492.bug-bash@gnu.org> (permalink)
References <CAH7i3LqG=mnoiSbetxVdg3wqso5orGgMqQk70-UfJ=wcdf6uLQ@mail.gmail.com> <8ddc4816-f85e-97b3-5c51-9b55acdcaca5@case.edu> <9881b6b4-237f-ea61-d9fc-9c3f9f9ae4c3@yahoo.com> <20200721114844.GQ22833@eeg.ccf.org>

Show all headers | View raw


On Tue, Jul 21, 2020 at 10:55:06AM +0300, M. Nejat AYDIN wrote:
> Also, shouldn't the tilde be expanded following
>     $ echo ~:
> ? The colon terminates tilde-prefix in an assignment, but there is no
> assignment involved here.

Works for me.

unicorn:~$ echo ~:
/home/greg:

Also in POSIX mode.

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: Assignment-like word shouldn't be subjected to tilde expansion in POSIX mode Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-21 07:48 -0400

csiph-web