Try: p=$(getpass $1) -- David Bell > -----Original Message----- > From: shrike-list-admin@xxxxxxxxxx > [mailto:shrike-list-admin@xxxxxxxxxx]On Behalf Of Aaron Konstam > Sent: Sunday, February 08, 2004 8:09 PM > To: Shrike-list > Subject: Stupid Bash question. > > > 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? > -- > ------------------------------------------- > 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 > -- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list