Re: bash pollutes namespace it shouldn't touch when emulating sh

2017-08-30 Thread Neven Sajko
Another note: it's not even necessary to disable such features in POSIX mode, just give them least precedence in the command search path so they wouldn't conflict with executables on the system.

Re: bash pollutes namespace it shouldn't touch when emulating sh

2017-08-30 Thread Neven Sajko
... > order of special builtins, regular builtins, and shell functions. That > section doesn't even list all of the regular builtins the various shells And, that list in POSIX that I linked too defines commands whose invocation gives unspecified results, thus making them appropriate for use as im

Re: bash pollutes namespace it shouldn't touch when emulating sh

2017-08-30 Thread Neven Sajko
On 28 August 2017 at 17:54, Neven Sajko wrote: > On 28 August 2017 at 15:05, Chet Ramey wrote: >> On 8/28/17 3:42 AM, Neven Sajko wrote: >>>> I am not sure what you think Posix mode should do here. Since Posix doesn't >>>> standardize the behavior of

bash pollutes namespace it shouldn't touch when emulating sh

2017-08-27 Thread Neven Sajko
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/share/locale'

Re: bash completion escaping bug

2015-08-25 Thread Neven Sajko
> for example I have this in shell input: > db.rc $home/Downloads/games/DOS/Captai > and after I press Tab I have this: > db.rc \$home/Downloads/games/DOS/Captain\ Bible\ in\ the\ Dome\ of\ > Darkness.zip Sorry, the completed command line was wrapped: db.rc \$home/Downloads/games/DOS/Captain\

bash completion escaping bug

2015-08-24 Thread Neven Sajko
\ Dome\ of\ Darkness.zip Notice the dollar sign which is now erroneously escaped (home is a variable). Regards, Neven Sajko