[Help-bash] The correct way and most succinct way to check if a pipe is
From:
Peng Yu
Subject:
[Help-bash] The correct way and most succinct way to check if a pipe is empty?
Date:
Sat, 14 Mar 2015 21:20:13 -0500
Hi,
There are a number of discussions about how to check a pipe is empty.
But some of the solutions are not correct and some are too long. Does
anybody know the best way to check if a pipe is empty? Thanks.
--
Regards,
Peng