[ale] Thanks - and another Bash script question

Michael D. Hirsch mhirsch at nubridges.com
Thu May 15 12:33:56 EDT 2003


On Thursday 15 May 2003 12:06 pm, Bob Kruger wrote:
> Some of the fields that I want to capture will have spaces in them, so I
> can't go that way.
>
> I should have given a better example:
>
> ct=(chevelle,two tone,green and white,two door)
>
> where $ct[1] = chevelle , $ct[2]="two tone", $ct[3] = "green and white"
> , etc.

So I guess you translate space to something else first.  You probably need 
some escape code, like '\'.  Then you escape the escape code, turn sapces 
into excaped characters, then semicolons into spaces, read in the strings 
and reverse the translations.

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





More information about the Ale mailing list