Re: built-in commands give no syntax error on trailing garbage

2016-09-18 Thread Chet Ramey
On 9/14/16 6:01 AM, idal...@idallen-fibe.dyndns.org wrote: > Bash Version: 4.3 > Patch Level: 46 > Release Status: release > > Description: > Many built-in commands ignore trailing garbage instead of giving > a syntax error, and this leads newbies into making dumb mistakes > tha

Re: built-in commands give no syntax error on trailing garbage

2016-09-14 Thread Piotr Grzybowski
hi, this is recurring cd story: https://lists.gnu.org/archive/html/bug-bash/2016-04/msg00038.html pg On 14 Sep 2016, at 12:01, idal...@home.idallen.ca wrote: > Configuration Information [Automatically generated, do not change]: > Machine: x86_64 > OS: linux-gnu > Compiler: gcc > Compilation C

built-in commands give no syntax error on trailing garbage

2016-09-14 Thread idallen
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-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKA