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 # result is null Fix: Either fix the docs to tell people that a pipe is not allowed or fix the code to allow it.
The problem is not the pipe but the fact that '<filename' is an empty command which does nothing. If you want 'program' to read from 'file', use 'program<file'.
Bernd -- Bernd Eggink http://sudrala.de