On Thursday 25 May 2006 18:56, Cai Qian wrote:
> echo -e "hello \004world" | cat > /dev/null
>
> will print out nothing
>
> It suggests that "cat" has not seen EOF (004) generated by echo.
you piped the output to /dev/null ... how does that suggest anything ?
looks to me like you're evaluating with the wrong tools ... do something like:
echo -e "hello \004world" > foo
hexedit foo
and you'll see that echo is writing out the 0x04 just fine
-mike