bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dealing with verbose programs


From: Ben Pfaff
Subject: Re: dealing with verbose programs
Date: Wed, 05 Sep 2007 08:33:34 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Jim Meyering <address@hidden> writes:

> Ben Pfaff <address@hidden> wrote:
>> Jim Meyering <address@hidden> writes:
>>> Ha!  I wrote the following a few weeks ago, thinking some day
>>> I'd write something more involved.  I'm not very happy with it,
>>> because, at least with coreutils, it runs for too long without
>>> giving any progress indicator.
>>
>> You could use "tee" to display the program's output as it runs,
>> then append the diff when it has completed.
>
> Yes, but the point of my exercise was to avoid the voluminous output.

I guess I misunderstood: I assumed that the point was to make the
changes obvious.  By repeating the changes at the end of the run,
it is possible to draw attention to them, even if it doesn't
reduce the volume of the output.

I suppose that one could provide some kind of progress feedback
by printing a "." for each line as it is output.
-- 
Ben Pfaff 
http://benpfaff.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]