var=`date` ; echo $var
Tue Aug 14 11:58:46  2001

Multiple results?  Please define.


-----Original Message-----
From: Justin Bengtson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 14, 2001 11:57 AM
To: 'euglug'
Subject: [EUG-LUG:2187] BASH question


is it possible, in a BASH script, to invoke a program, stuff the return into
a variable and perform actions based on what was returned?  what if the
invoked program returned multiple results?  is there a way to sort them out
and assign them each variables?

or do i have to learn perl?

Justin Bengtson
IT/IS Frontman, Data Manager, Programmer, Print Operator,
Honorary Custodian of the Rooster

Reply via email to