As mentioned in #7836, the builtin echo does not fail when the the writes fail, making it difficult to realize whether there was an error or not.
The easiest way to reproduce this on Linux is:
$ builtin echo >/dev/full
write: No space left on device
$ echo $status
0
As mentioned in #7836, the builtin
echodoes not fail when the the writes fail, making it difficult to realize whether there was an error or not.The easiest way to reproduce this on Linux is: