[Top][All Lists]

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

Re: include dos2unix/unix2dos in coreutils ?

From: Bob Proulx
Subject: Re: include dos2unix/unix2dos in coreutils ?
Date: Fri, 10 Nov 2006 10:57:32 -0700
User-agent: Mutt/1.5.9i

Matthew Woehlke wrote:
> all of which should probably be symlinks to/copies of one program
> that changes default behavior based on its argv[0].)

No, please don't.  It means that programs change their behavior based
upon their names.  When a the program is copied or renamed it no
longer works the same.  Having been burned by that myself it is now
one of my pet peeves.


  Please don't make the behavior of a utility depend on the name used to
  invoke it. It is useful sometimes to make a link to a utility with a
  different name, and that should not change what it does.

  Instead, use a run time option or a compilation switch or both to
  select among the alternate behaviors.


reply via email to

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