On Jun 17, 2011, at 1:49 PM, Chad Perrin wrote:

> If a program is executed using an alias from within a Unix
> shell, for instance, I want the alias name.

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.

Michael Edgar
adgar / carboni.ca
http://carboni.ca/