[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: [RFC] Future of "messages" targets
From: Alejandro Exojo <suy () kurly ! org>
Date: 2005-09-14 9:41:43
Message-ID: 200509141141.43822.suy () kurly ! org
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic