Re: Reading in a bash function.

2008-08-28 Thread Mr. Shawn H. Corey
On Thu, 2008-08-28 at 19:59 +0200, Laurens Vets wrote: > Hello, > > >> When I log onto a linux host, and use "set" I can see that there a > >> couple of functions defined (test() for instance) in bash. How can I > >> read out these functions and use them in a perl script? > > > > You can't as

Re: Reading in a bash function.

2008-08-28 Thread Laurens Vets
Hello, When I log onto a linux host, and use "set" I can see that there a couple of functions defined (test() for instance) in bash. How can I read out these functions and use them in a perl script? You can't as they are bash functions, not Perl functions. There's no way to read them out l

Re: Reading in a bash function.

2008-08-28 Thread John W. Krahn
Laurens Vets wrote: Hi all, Hello, When I log onto a linux host, and use "set" I can see that there a couple of functions defined (test() for instance) in bash. How can I read out these functions and use them in a perl script? You can't as they are bash functions, not Perl functions. J

Reading in a bash function.

2008-08-28 Thread Laurens Vets
Hi all, When I log onto a linux host, and use "set" I can see that there a couple of functions defined (test() for instance) in bash. How can I read out these functions and use them in a perl script? I've search the archives, but nothing came up. Thanks in advance! -- To unsubscribe, e-mai