Re: Same command name; different versions; one Fedora...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



James Wilkinson wrote:

>> I'm not sure what you are saying.
>> I only have one "echo" program /bin/echo and one "true" program /bin/true
>> . I would find it confusing if I had two programs /bin/echo and
>> /sbin/echo which did slightly different things.
> 
> You also have echo built into bash. If you type (say)
> $ echo Trinity College Dublin
> into bash, bash *won't* call /bin/echo, but use its own internal
> variant. Try
> $ type echo
> $ type yum
> and look at the differences.

That's a completely different issue.
As I pointed out, if an application asks you to type "true"
it is unlikely to be invoking the program "/bin/true"/

> I'm sorry if I'm shattering some of your illusions here. But there is a
> lot of Unix precedent for things that do *much* the same thing to be
> called by the same name.

You haven't yet given any example of two different programs
with the same name.

I know lots of examples of the opposite -
the same program with symlinks with different names,
where the program looks to see what name it was called under,
and runs slightly differently in the different cases.



-- 
Timothy Murphy  
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux