tag:blogger.com,1999:blog-6815733.post4833279556666677976..comments2022-09-26T03:32:36.592-07:00Comments on Anything goes: Convert a space-separated string into array in Bashtsengfhttp://www.blogger.com/profile/11780610202818263705noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-6815733.post-11518567044620994362012-07-06T10:35:50.174-07:002012-07-06T10:35:50.174-07:00array=( $(echo space_sep_string) )array=( $(echo space_sep_string) )herculesgr8https://www.blogger.com/profile/08265434477408500836noreply@blogger.comtag:blogger.com,1999:blog-6815733.post-90403352449047140282012-05-30T07:01:50.786-07:002012-05-30T07:01:50.786-07:00Thanks for good hint!Thanks for good hint!Joe Pedestrianhttps://www.blogger.com/profile/17896395972642901572noreply@blogger.comtag:blogger.com,1999:blog-6815733.post-1934693204846213602011-10-15T11:03:32.548-07:002011-10-15T11:03:32.548-07:00Thanks Staef for catching the mistake.Thanks Staef for catching the mistake.tsengfhttps://www.blogger.com/profile/11780610202818263705noreply@blogger.comtag:blogger.com,1999:blog-6815733.post-78278913199567895552011-09-22T13:50:38.172-07:002011-09-22T13:50:38.172-07:00array=(${space_sep_string// / })
you forgot the pa...array=(${space_sep_string// / })<br />you forgot the parenthese ;)Anonymoushttps://www.blogger.com/profile/00023960502982045565noreply@blogger.com