Theo de Raadt wrote:
> 
> I actually dislike how these programs behave when linked to.  It is
> rare.  But it feels misleading somehow.

Yes, I mentioned this in passing. It's somewhat contrived, but here's an
example.

$ cp /bin/ls ~/bin/ld
$ ld -X
ld: unknown option -- X
usage: ld [-1AaCcdFfgHhikLlmnopqRrSsTtux] [file ...]

Now I read 'man ld' and woah...

On the one hand, obviously stupid idea to copy one command and give it another
name, but the way we accomodate this misuse makes the problem worse. Sometimes
these things happen by accident. If "ld" told me its name was "ls" that would
give me a hint about how to correct the problem and I'd remember that time I
fat fingered s/d.

Reply via email to