[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.
http://www.gnu.org/prep/standards/html_node/User-Interfaces.html#User-Interfaces
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.
Bob
- include dos2unix/unix2dos in coreutils ?, Mike Frysinger, 2006/11/09
- Re: include dos2unix/unix2dos in coreutils ?, Jim Meyering, 2006/11/10
- Re: include dos2unix/unix2dos in coreutils ?, Matthew Woehlke, 2006/11/10
- Re: include dos2unix/unix2dos in coreutils ?,
Bob Proulx <=
- Re: include dos2unix/unix2dos in coreutils ?, Matthew Woehlke, 2006/11/10
- Re: include dos2unix/unix2dos in coreutils ?, Eric Blake, 2006/11/10
- Re: include dos2unix/unix2dos in coreutils ?, Matthew Woehlke, 2006/11/13
- Re: include dos2unix/unix2dos in coreutils ?, Alfred M. Szmidt, 2006/11/13
- Re: include dos2unix/unix2dos in coreutils ?, Alfred M. Szmidt, 2006/11/13
- Re: include dos2unix/unix2dos in coreutils ?, Pádraig Brady, 2006/11/13
- Re: include dos2unix/unix2dos in coreutils ?, Matthew Woehlke, 2006/11/13
- Re: include dos2unix/unix2dos in coreutils ?, Alfred M. Szmidt, 2006/11/13
- Re: include dos2unix/unix2dos in coreutils ?, Andreas Schwab, 2006/11/13
- Re: include dos2unix/unix2dos in coreutils ?, Matthew Woehlke, 2006/11/13