From kde-core-devel Wed Sep 14 09:41:43 2005 From: Alejandro Exojo Date: Wed, 14 Sep 2005 09:41:43 +0000 To: kde-core-devel Subject: Re: [RFC] Future of "messages" targets Message-Id: <200509141141.43822.suy () kurly ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=112669228512460 El Martes, 13 de Septiembre de 2005 15:45, Nicolas Goutte escribió: > Doing so brings a problem: there does not seem to be a way in Bash to call > only a function (and not that a command of the same named is executed from > somewhere in $PATH). According to "learning the bash shell", from O'Reilly: This is a good time to show the order of precedence for the various sources of commands when you type a command to the shell: 1.       Aliases 2.       Keywords such as function and several others, like if and for, that we will see in Chapter 5 3.       Functions 4.       Built-ins like cd and type 5.       Scripts and executable programs, for which the shell searches in the directories listed in the PATH environment variable And a quick try with a POSIX shell: $ ps | grep $$ 11721 pts/2 00:00:00 dash $ mv mv: missing file argument Try `mv --help' for more information. $ mv () echo "this is a function" $ mv this is a function HTH. -- Alex (a.k.a. suy) - GPG ID 0x0B8B0BC2 http://darkshines.net/ - Jabber ID: suy@bulmalug.net