On 7/31/14, 10:55 AM, Linda Walsh wrote:
Chet Ramey wrote:
On 7/30/14, 8:18 PM, Linda Walsh wrote:
Was comparing /contrasting output of "which" with output of "type -[pPa]"
(trying all 3) with the intent of being able to turn which into an alias,
since
it returned incorrect info for "builtins, aliases and functions" -- because
it is a separate program.
While "which" returns "not found in path when I turn off the exec
bits for "echo", bash still returns the first copy of the file in my
path -- executable or not.
No:
----
Ahhh... so that one's fixed in 4.3... yeay!
No:
$ ../bash-4.3-patched/bash ./x25
4.3.22(16)-release
PATH = /usr/bin:/bin:/usr/local/bin
-rw------- 1 root wheel 14128 Jul 31 09:12 /usr/bin/echo
/bin/echo
-rwxr-xr-x 1 root wheel 14128 Apr 8 16:15 /bin/echo