This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Retrieve function definition in bash
- Subject: Re: Retrieve function definition in bash
- From: David Shochat <shochat at itg-sepg dot logicon dot com>
- Date: Thu, 13 Feb 1997 11:09:06 -0800
- CC: gnu-win32 at cygnus dot com
- Newsgroups: comp.unix.shell
- Organization: Logicon Information Technology Group
- References: <33012C48.6964@itg-sepg.logicon.com> <3302F42B.446B@mpa-garching.mpg.de>
- Reply-To: shochat at itg-sepg dot logicon dot com
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".