Jari Aalto wrote:
> Please add new option -z, --compress to support compressed files.

It would be better if this were a generically usable interface to a
variety of compressors such as gzip, bzip2, lz, etc.

>    cd /usr/src/versin-control/program.cvs
>    diff -u -z program.1  /usr/share/man/man1/program.1.gz

Note that modern shells including GNU bash allow this through the
command line shell.

  diff -u program.1 <(zcat /usr/share/man/man1/program.1.gz)

Is that good enough?  If it is in the shell and therefore supports all
compressors and all command line utilities uniformly then I do not
think that it should be added to the code of every command line
program.

Bob



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to