Subject: Re: Compressed vnd handling tested successfully
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: TLorD <tld@tld.digitalcurse.com>
List: tech-kern
Date: 06/14/2005 18:26:03
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

der Mouse wrote:
>>What do you suggest?  Make only a "vncompress" that handles
>>-c(compress) and -d(ecompress)/-u(ncompress)?  That's what it did
>>initially, but I really find using two names easier.
> 
> I don't see anything wrong with having one program which accepts -c and
> -d (or whatever options are picked) and then, for certain values of
> basename(argv[0]), supplies one or the other by default.

Well, I guess it would break the principle of least surprise: if the default
is to compress, and you rename the decompressor to some other name, then you
won't be able to launch the newly created file with the same command line as
the former version (as it will no longer default to decompress but compress)

Regards.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)

iD8DBQFCrwUbMiWEUf7YMGERAm8VAKDbU0upBKOGEkhWfmelw2NNJ5jx0gCg2mMZ
o5qV/qHhhANgnEY3169dou8=
=M+WJ
-----END PGP SIGNATURE-----