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


Groups > gnu.bash.bug > #16578

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

From Oğuz <oguzismailuysal@gmail.com>
Newsgroups gnu.bash.bug
Subject Assignment-like word shouldn't be subjected to tilde expansion in POSIX mode
Date 2020-07-18 08:38 +0300
Message-ID <mailman.11.1595050745.24492.bug-bash@gnu.org> (permalink)
References <CAH7i3LqG=mnoiSbetxVdg3wqso5orGgMqQk70-UfJ=wcdf6uLQ@mail.gmail.com>

Show all headers | View raw


See:

    $ set +k -o posix
    $ echo foo=~:~
    foo=~:/home/oguz

If I'm not misreading the standard `foo=~:~' should be printed
verbatim, all shells I have except bash does so.

This is reproducible on 5.1 alpha too.

Oğuz

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


Thread

Assignment-like word shouldn't be subjected to tilde expansion in POSIX mode Oğuz <oguzismailuysal@gmail.com> - 2020-07-18 08:38 +0300

csiph-web