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

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

 



Timothy Murphy 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.

(There seems to be an echo built into ksh, csh, the Bourne shell, and
most derivatives.)

And, on Fedora, try
$ echo --version
$ /bin/echo --version.

tcsh's echo has its own oddities depending on how echo_style is set.

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.

James.
-- 
E-mail:     james@ | Never ask, "Oh, why were things so much better in the
aprilcottage.co.uk | old days?"
                   | It's not an intelligent question.
                   |     -- Ecclesiastes 7 v. 10 (GNB)

-- 
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