[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lzip-bug] Feature request / support !
From: |
Antonio Diaz Diaz |
Subject: |
Re: [Lzip-bug] Feature request / support ! |
Date: |
Thu, 20 Jul 2017 13:11:49 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 |
Hola MatÃas. :-)
Matias Fonzo wrote:
Do you have any suggestions about what option name to use and how to
achieve the goal above (maybe writing the progress info directly to
the controlling terminal to avoid mangling stderr)? Thanks.
fsck(8) from e2fsck progs have:
-C [ fd ]
Thanks for the suggestion.
After searching among the options used by GNU programs, I think I could
use '-g, --progress' if finally a new option is needed.
But the true problem is avoiding mangling the output sent to stderr.
See for example what happens currently with progress output during
compression:
lzip -0cvv busybox-1.27.0.tar 2>&1 >/dev/null | less
For decompression it would be worse because:
1) The progress ouput would be inserted between the dictionary size and
the rest of the --verbose output.
2) In multimember files, lzip shows --verbose output for each member
separately.
Maybe the progress output could be shown only when stderr is a terminal?
Best regards,
Antonio.