[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Thanks - and another Bash script question
- Subject: [ale] Thanks - and another Bash script question
- From: mhirsch at nubridges.com (Michael D. Hirsch)
- Date: Thu, 15 May 2003 12:33:56 -0400
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