Buddha M. D. Buck writes ("Bug#818: echo builtin doesn't check for write
errors"):
> As of 1.14.6-4, this bug is still there... maybe
>
> $ type echo
> echo is a shell builtin
> $ echo foo >/dev/full
> $ echo $?
> 0
> $ cat /dev/zero >/dev/ful
As of 1.14.6-4, this bug is still there... maybe
$ type echo
echo is a shell builtin
$ echo foo >/dev/full
$ echo $?
0
$ cat /dev/zero >/dev/full
cat: write error: No space left on device
$ echo $?
1
$ /bin/echo foo >/dev/full
$ echo $?
0
$ file /bin/echo
/bin/echo: ELF 32-bit LSB executable,
2 matches
Mail list logo