Re: Command line text substitution
Re: Command line text substitution
- Subject: Re: Command line text substitution
- From: John W Baxter <email@hidden>
- Date: Fri, 17 Jan 2003 23:10:48 -0800
- Envelope-to: email@hidden
At 7:21 -0500 1/17/2003, Paul Skinner wrote:
>
Copy and pasted. Works in do shell script. That is tcsh right? The
>
shell game is still very loose in my mind.
Actually, no. I think do shell script runs sh, which is much more
bash-like than tcsh like.
[john@Zeus john]$tcsh
[Zeus:~] john% a='I want AppleScript.' ; echo ${a/Apple/Pear}
Missing }.
Frankly, the } doesn't look missing to me. But it probably got absorbed
into the replacement string or something. It looks even less missing this
way: ;-)
[Zeus:~] john% a='I want AppleScript.' ; echo ${a/Apple/Pear
}}}}}}}}}}}}}}}}}}}}}}}}}}}}
Missing }.
--John (someone who knows tcsh can take over...I'm doing my best not to
learn it}
--
John Baxter email@hidden Port Ludlow, WA, USA
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.