On 03/13/2014 01:21 AM, Pavel Raiskup wrote:
We could detect that archive contents are coming from terminal input and
fail immediately (IIRC tar waits indefinitely ATM until it's input is cut
by ctrl+d or it is killed).
I meant something like the patch attached, could you please consider?

I tried to write testcase for this and I failed to find proper 'script'
alternative tool among coreutils, is there some?  I could rewrite it then.

Pavel
This sort of thing would seem to run counter to the GNU coding standards, which say that the behavior a program should not depend on the type of device it is used with.

http://www.gnu.org/prep/standards/html_node/User-Interfaces.html

Reply via email to