"alternatives" versus PATH

Horst H. von Brand vonbrand at inf.utfsm.cl
Sat Oct 7 03:12:59 UTC 2006


Edwin Olson <eolson at mit.edu> wrote:
> Fedora has shipped "alternatives" for a while now, but I still don't get it.
> 
> Why is "alternatives" better than setting your PATH appropriately? Why
> should "alternatives" override your path?
> 
> The notion of having an "editor" symlink which points to vim/emacs
> seems okay at first, but in practice, who's not going to just type
> 'emacs'?

Or get terminally confused when <TypeSomeFunkyCommandHere> does something
completely unexpected... this really makes very little sense.

But for selecting the right lpr, or sendmail, or... from a collection of
alternatives that might be installed side by side it does make sense. Sure,
for just one it would be OK to tweak the PATH, but for a half dozen
alternates it gets very messy.
-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                    Fono: +56 32 2654431
Universidad Tecnica Federico Santa Maria             +56 32 2654239
Casilla 110-V, Valparaiso, Chile               Fax:  +56 32 2797513




More information about the test mailing list