Re: Shell-Perl-AppleScript scripting
Re: Shell-Perl-AppleScript scripting
- Subject: Re: Shell-Perl-AppleScript scripting
- From: John Fowler <email@hidden>
- Date: Sun, 28 Dec 2003 21:12:35 -0600
The distinguished Randall Schwartz wrote:
The general strategy for a good delimiter is like this:
BEGIN {
chomp($search = <<'UnLiKeLyStRiNg');
your search string goes here, as is
UnLiKeLyStRiNg
chomp($replace = <<'UnLiKeLyStRiNg');
your replace string goes here, as is
UnLiKeLyStRiNg
}
s/$search/$replace/g;
My other concern about this quoting method in the context of an
AppleScript do shell script command is that it is not consistent with a
one-line perl script....
John Fowler
_______________________________________________
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.