[ale] Bash/source question

Geoffrey esoteric at 3times25.net
Sat Mar 15 07:46:22 EST 2003


David Corbin wrote:
> They're output as:
> X=1
> Y=2
> 
> I'll try the "eval" approach suggested by Danny Cox.

That would be the way to go.  Try this:

eval $(command)

where command is the program/script that outputs the variables.  From 
that point, you can use the X Y variables as they are now assigned in 
the script calling eval.

-- 
Until later: Geoffrey		esoteric at 3times25.net

The latest, most widespread virus?  Microsoft end user agreement.
Think about it...

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list