On Mon, Feb 09, 2004 at 10:35:17AM -0800, joe wrote: > Aaron Konstam wrote: > > >On Sun, Feb 08, 2004 at 10:08:44PM -0600, Aaron Konstam wrote: > > > > > >>This is driving me crazy. How does one capture the string output of a > >>function in a bash shell script like: > >> > >>p=getpass($1) > >> > >>should do into the variable p? > >>-- > >> > >> > >This indeed was a stupid question and I apologize. The answer is > >probably use Perl. > > > > > So, you didn't like our answers? what did we miss? > > Joe You didn't miss anything that I said but what I did not say. The getpass I was talking about in this case was a C program. C main programs do not return string values which I was trying to do here. If getpass was a bash function your answers would be appropriate. But for a C program it just won't work. -- ------------------------------------------- Aaron Konstam Computer Science Trinity University 715 Stadium Dr. San Antonio, TX 78212-7200 telephone: (210)-999-7484 email:akonstam@xxxxxxxxxxx -- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list