Hi,

wget returns the following exit code when it is dealing with pipe. But
it does not follow the common practice. Should this behavior be fixed?

$ wget -qO- http://httpbin.org/get | echo

$ echo ${PIPESTATUS[@]}
3 0
$ seq 10 | echo

$ echo ${PIPESTATUS[@]}
141 0

-- 
Regards,
Peng

Reply via email to