Web lists-archives.com

Re: Many executables across Debian's archives share basenames


On 06/10/17 17:24, Stefan Monnier wrote:
>>> Now "import" is quite another kettle of fish: it's part of the
>>> ImageMagick suite (not much to do with X, actually), which has the
>>> (questionable) tradition of calling its things "display", "convert",
>>> "identify", "compare"... or even "conjure"). Now ImageMagick is so
>>> useful that people seem to tolerate it, but a prefix (e.g. "im-")
>>> or a super-command ("im") would be more modern, yes.
>> ImageMagick only gets away with it because of its age and ubiquity.
>> It's grandfathered in.
> How 'bout installing imagemagick executables into
> a /usr/bin/im/ subdirectory?
> This way, you can refer to it via `im/convert` but if you prefer to 
> use the "grandfather" name, you can just add /usr/bin/im/ to your PATH.

We can also add the prefix im- to each executable.
For instance, the tools coming with the nauty package are prefixed with nauty-
to avoid name collision.


>         Stefan

Jerome BENOIT | calculus+at-rezozer^dot*net
AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B

Attachment: signature.asc
Description: OpenPGP digital signature