From: Michael Edgar Date: 2011-06-18T03:31:20+09:00 Subject: Re: get execution name of program On Jun 17, 2011, at 2:16 PM, Chad Perrin wrote: > On Sat, Jun 18, 2011 at 03:03:50AM +0900, Michael Edgar wrote: >> >> >> In bash, `alias` is a builtin; these aliases are expanded by the shell >> before the program begins execution. I'm afraid what you wish for is >> not feasible. > > I was afraid of that. Thanks. If you're desperate, you may find a way to interrogate bash as to its current settings/aliases. You could then look at ARGV and find all matching aliases. You'd always have ambiguity between an alias vs. the expanded form, but you might be able to show an alias was not used. Michael Edgar adgar@carboni.ca http://carboni.ca/