[ale] Thanks - and another Bash script question

Fletch fletch at phydeaux.org
Thu May 15 12:22:43 EDT 2003


>>>>> "Bob" == Bob Kruger <bkruger at mindspring.com> writes:
    Bob> If I have a line with comma based delimiters, how would I
    Bob> read that into an array, e.g.


rodan:~ 609> bash -c 'IFS=",";A="This,Is A,Test";for i in $A;do echo $i;done'
This
Is A
Test
rodan:~ 610>

-- 
Fletch                | "If you find my answers frightening,       __`'/|
fletch at phydeaux.org   |  Vincent, you should cease askin'          \ o.O'
770 294-0820 (m)      |  scary questions." -- Jules                =(___)=
                      |                                               U
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list