Re: Use of pipe in $(< filename | program) returns null

2009-11-28 Thread pk
Chet Ramey wrote: > r...@saturn.syslang.net wrote: > >> Description: >> use of $(< filename | program) does not work. It either should or it >> should be properly documented. The problem also happens on bash4. >> >> Repeat-By: >> >> qq=$(< /etc/passwd | grep sys) >> echo $qq >> # result is null

Re: Use of pipe in $(< filename | program) returns null

2009-11-28 Thread Chet Ramey
r...@saturn.syslang.net wrote: > Description: > use of $(< filename | program) does not work. It either should or it > should be properly documented. > The problem also happens on bash4. > > Repeat-By: > > qq=$(< /etc/passwd | grep sys) > echo $qq > # result is nul

Re: Use of pipe in $(< filename | program) returns null

2009-11-28 Thread DennisW
On Nov 28, 4:46 am, Andreas Schwab wrote: > Bernd Eggink writes: > > Am 28.11.2009 06:35, schrieb r...@saturn.syslang.net: > > >> Description: > >>        use of $(<  filename | program) does not work. It either should or > >> it should be properly documented. > >>        The problem also happen

Re: Use of pipe in $(< filename | program) returns null

2009-11-28 Thread Andreas Schwab
Bernd Eggink writes: > Am 28.11.2009 06:35, schrieb r...@saturn.syslang.net: >> >> Description: >> use of $(< filename | program) does not work. It either should or it >> should be properly documented. >> The problem also happens on bash4. >> >> Repeat-By: >> >> qq=$(< /etc/pass

Re: Use of pipe in $(< filename | program) returns null

2009-11-28 Thread Bernd Eggink
Am 28.11.2009 06:35, schrieb r...@saturn.syslang.net: Description: use of $(< filename | program) does not work. It either should or it should be properly documented. The problem also happens on bash4. Repeat-By: qq=$(< /etc/passwd | grep sys) echo $qq

Use of pipe in $(< filename | program) returns null

2009-11-27 Thread root
Configuration Information [Automatically generated, do not change]: Machine: i386 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPAC