This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Can I read the name of a shell function?


Please provide an example of what you are
doing, along with what results you are 
getting, and what results you expect.

> -----Original Message-----
> From: zzapper [mailto:david@tvis.co.uk]
> Sent: Friday, November 07, 2003 7:18 AM
> To: cygwin@cygwin.com
> Subject: Can I read the name of a shell function?
> 
> 
> 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
> --
> 
> vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?"
> 
> http://www.vim.org/tips/tip.php?tip_id=305  Best of Vim Tips
> 
> 
> --
> 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/
> 
> 

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]