Retrieve function definition in bash
David Shochat
shochat@itg-sepg.logicon.com
Fri Feb 14 04:15:00 GMT 1997
David Syer wrote:
>
> David Shochat wrote:
> >
> > How can I get bash to show me the definition of a function I've already
> > defined?
>
> % type fname
>
I have a function mman defined like this in my .bashrc:
function mman() { troff -man -Tascii $1 | grotty | less; }
I know the definition is there, because it works.
But if I do:
type mman
I get back
mman is a function
mman
Note: I'm using the Cygnus gnu-win32 port of bash on Win 95. Do my results mean it
is brain-damaged?
Thanks -- David
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
More information about the Cygwin
mailing list