Subject: Re: Compressed vnd handling tested successfully
To: Hubert Feyrer <hubert@feyrer.de>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: tech-kern
Date: 06/13/2005 18:29:57
Hubert Feyrer <hubert@feyrer.de> writes:

> On Mon, 13 Jun 2005, Nathan J. Williams wrote:
> >>> Perhaps "clcompress" is suitable?
> >> Sure not two programs, at best we can make it regard argv[0].
> > Reading argv[0] is evil. Don't do that.
> 
> Why not?
> It's what compress/uncompress and gzip/gunzip do, too...

It may be historical practice, but it's bad historical practice. At
the very least you have to have a flag to set what to do, regardless
of the name. What does the program do when you run it as
"nbclcompress", or "clcompress-test", or whatever?

        - Nathan