This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Can I read the name of a shell function?
- From: zzapper <david at tvis dot co dot uk>
- To: cygwin at cygwin dot com
- Date: Fri, 07 Nov 2003 12:17:56 +0000
- 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/