|
From: | Paul Eggert |
Subject: | Re: [Bug-tar] Bug / question in tar |
Date: | Thu, 13 Mar 2014 09:35:26 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
On 03/13/2014 01:21 AM, Pavel Raiskup wrote:
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.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
http://www.gnu.org/prep/standards/html_node/User-Interfaces.html
[Prev in Thread] | Current Thread | [Next in Thread] |