On Mon, May 30, 2011 at 11:24:19AM -0500, Robert Nichols wrote:
>      $ true | false | false | true | true
>      $ echo ${PIPESTATUS[*]}
>      0 1 1 0 0

Note that this is bash-ism; don't depend on it in a POSIX environment!

-- 

rgds
Stephen
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to