Re: shell equivalent to text 1 thru -9?
Re: shell equivalent to text 1 thru -9?
- Subject: Re: shell equivalent to text 1 thru -9?
- From: "Mark J. Reed" <email@hidden>
- Date: Tue, 19 Apr 2005 12:28:38 -0400
MR = me
CJ = Chris Janton
MR> The shell can't easily do string extraction by position
CJ> Sure it can (bash in this example) it just needs to be specified
CJ> properly.
Whups! Sorry to have misinformed the OP. Guess I'm not up
on all of my bashisms. I still have to use ksh88 on some
systems, so I tend to rely on things that work in both (although with
arrays there's no getting around the differences. Good to know
about ${x:m:n}.
I still think the affix-removal syntax is more generally useful, though. :)
--
Mark J. Reed <
email@hidden>
_______________________________________________
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