This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Can I read the name of a shell function?
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: zzapper <david at tvis dot co dot uk>
- Cc: cygwin at cygwin dot com
- Date: Fri, 7 Nov 2003 12:27:49 -0500 (EST)
- Subject: Re: Can I read the name of a shell function?
- References: <443nqv8184hd1mpdhhkcu763uab6hktgmr@4ax.com>
- Reply-to: cygwin at cygwin dot com
On Fri, 7 Nov 2003, zzapper wrote:
> HiYaAll
>
> I have created a lot of functions in my .profile
>
> When I try to read the function name from within the function $0 just
> returns bash. Is there any way of reading the functions name??
>
> zzapper
info bash --index-search="functions, shell"
/param
HTH,
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/