Name:
Anonymous
2015-04-03 20:59
It lacks error handling, below is bash's echo
$ echo test > /dev/full
bash: echo: write error: No space left on device
$ echo $?
1
Bellow is suckmore's echo
$ echo test > /dev/full
$ echo $?
0
Based on POSIX if an error has occurred echo should return a value bigger than 0. It also may use stderr for diagnostic messages.