Re: text item delimiter
Re: text item delimiter
- Subject: Re: text item delimiter
- From: Gnarlodious <email@hidden>
- Date: Fri, 29 Apr 2005 09:36:38 -0600
Entity Rob Stott spoke thus:
> ...theres almost certainly a better way that doesn't involve that many 'sed's
> for multiple digits but I'm not sure how.
do shell script "cat " & theFile & " | sed-e 'y/abcdefghi/123456789/' " & ¬
"-e 's/j/10/g' " & ¬
"-e 's/k/11/g' " & ¬
"-e 's/l/12/g' " & ¬
"-e 's/m/13/g' " & ¬
"-e 's/n/14/g' " & ¬
"-e 's/o/15/g' " & ¬
"-e 's/p/16/g' " & ¬
"-e 's/q/17/g' " & ¬
"-e 's/r/18/g' " & ¬
"-e 's/s/19/g' " & ¬
"-e 's/t/20/g' " & ¬
"-e 's/u/21/g' " & ¬
"-e 's/v/22/g' " & ¬
"-e 's/w/23/g' " & ¬
"-e 's/x/24/g' " & ¬
"-e 's/y/25/g' " & ¬
"-e 's/z/26/g' "
-- Gnarlie
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden