[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: base85 would it be accepted
From: |
L A Walsh |
Subject: |
Re: base85 would it be accepted |
Date: |
Tue, 21 Nov 2017 06:28:01 -0800 |
User-agent: |
Thunderbird |
It's a good thing humans are in charge and both computers and
standards, created by humans are there to serve humans.
Fortunately, use an algorithm where only the
last symlink, in a directory ending with 'baseN' would be used.
So the user can specify any name they want for arg[0],
which must point to the encoding number under dir 'baseN'.
Example:
Prog "base32" gets named foofoo. Foofoo points to
/usr/bin/baseN.d/base32, which points to /usr/bin/baseN. The prog
only pays attention to the linkname under /usr/bin/baseN.d.
Thus the user can name their prog anything they want
and nothing is dependent on arg[0], but on a param in an application
subdirectory.
Cheers!
-linda
Eric Blake wrote:
Except that GNU Coding Standards recommend that we do NOT make behavior
dependent on argv[0] unless existing standards require that, so that a
user can rename their app but still get the same behavior