From: shochat@itg-sepg.logicon.com (David Shochat)
Subject: Re: Retrieve function definition in bash
14 Feb 1997 11:48:40 -0800
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <330366D1.2E33.cygnus.gnu-win32@itg-sepg.logicon.com>
References: <33012C48.6964@itg-sepg.logicon.com> <3302F42B.446B@mpa-garching.mpg.de>
Reply-To: shochat@itg-sepg.logicon.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: David Shochat <shochat@itg-sepg.logicon.com>
X-Mailer: Mozilla 4.0b1 (Win95; I)
Original-CC: gnu-win32@cygnus.com
X-Priority: Normal
Original-Sender: owner-gnu-win32@cygnus.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".
