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