Re: Incomplete 'command not found' error message if command name contains spaces

2015-03-31 Thread John McKown
Hum, on my system, I get the message you are expecting. Transcript: $ uname -a Linux it-johnmckown-linux 3.19.1-201.fc21.x86_64 #1 SMP Wed Mar 18 04:29:24 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux [tsh009@it-johnmckown-linux junk]$ bash --version GNU bash, version 4.3.33(1)-release (x86_64-redhat-li

Re: Incomplete 'command not found' error message if command name contains spaces

2015-03-31 Thread Robin A. Meade
It was fixed a year ago: https://github.com/hughsie/PackageKit/commit/b8f5de2e0ceaf7424e4e2c94adc46fa06eefce73 On Tue, Mar 31, 2015 at 1:04 PM, Robin A. Meade wrote: > ok, thanks. If I run bash with no startup files, I get expected output. > > With my regular start-up files: > > $ declare -f c

Re: Incomplete 'command not found' error message if command name contains spaces

2015-03-31 Thread Robin A. Meade
ok, thanks. If I run bash with no startup files, I get expected output. With my regular start-up files: $ declare -f command_not_found_handle command_not_found_handle () { runcnf=1; retval=127; [ ! -S /var/run/dbus/system_bus_socket ] && runcnf=0; [ ! -x /usr/libexec/packagekitd ]

Re: Incomplete 'command not found' error message if command name contains spaces

2015-03-31 Thread Eduardo A . Bustamante López
Cannot reproduce with these versions: dualbus@yaqui:~/local/src/gnu/bash$ "a nonexistent command name with spaces" bash: a nonexistent command name with spaces: command not found dualbus@yaqui:~/local/src/gnu/bash$ GNU bash, version 4.4.0(1)-devel (x86_64-unknown-linux-gnu) dualbus@yaqui:~$ "a n

Incomplete 'command not found' error message if command name contains spaces

2015-03-31 Thread Robin A. Meade
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-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -

Re: read unexpected reads directory list

2015-03-31 Thread Eduardo A . Bustamante López
On Tue, Mar 31, 2015 at 07:24:09PM +0300, Filimonov Vadim wrote: [...] > But I can't understand why > echo * Read the bash manual, section 'Pathname Expansion'. -- Eduardo Bustamante | https://dualbus.me/

Re: read unexpected reads directory list

2015-03-31 Thread Filimonov Vadim
  Hello.You are right.Thank You!31.03.2015, 19:11, "Eduardo A. Bustamante López" :Not a bug.On Tue, Mar 31, 2015 at 06:04:53PM +0300, Filimonov Vadim wrote:[..] filimonov@filimonov:~/bashbug/bash-4.3$ read -u63 LINE <(echo "*");echo $LINE bash: read: `/dev/fd/63': not a valid identifier ABOUT-NLS a

Re: read unexpected reads directory list

2015-03-31 Thread Filimonov Vadim
 Hello, Greg!Thank you. It's really my mistake, sorry.Good explanation.But I can't understand whyecho *prints listing of directory?31.03.2015, 19:06, "Greg Wooledge" :On Tue, Mar 31, 2015 at 06:04:53PM +0300, Filimonov Vadim wrote: filimonov@filimonov:~/bashbug/bash-4.3$ read -u63 LINE <(echo "*") 

Re: read unexpected reads directory list

2015-03-31 Thread Eduardo A . Bustamante López
Not a bug. On Tue, Mar 31, 2015 at 06:04:53PM +0300, Filimonov Vadim wrote: [..] > filimonov@filimonov:~/bashbug/bash-4.3$ read -u63 LINE <(echo "*");echo $LINE > bash: read: `/dev/fd/63': not a valid identifier > ABOUT-NLS aclocal.m4 alias.c alias.h alias.o array.c arrayfunc.c arrayfunc.h > arr

Re: read unexpected reads directory list

2015-03-31 Thread Greg Wooledge
On Tue, Mar 31, 2015 at 06:04:53PM +0300, Filimonov Vadim wrote: > filimonov@filimonov:~/bashbug/bash-4.3$ read -u63 LINE <(echo "*") > bash: read: `/dev/fd/63': not a valid identifier You are missing a < sign here. You probably wanted: read LINE < <(echo "*") It is not safe to assume that the

read unexpected reads directory list

2015-03-31 Thread Filimonov Vadim
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