Re: Shell problems
Re: Shell problems
- Subject: Re: Shell problems
- From: John Delacour <email@hidden>
- Date: Sun, 8 Sep 2002 23:49:04 +0100
At 9:45 pm +0100 8/9/02, John Delacour wrote:
Don't know shtuff but this will work
do shell script "perl -e '
open F, qq(/users/jd/junk.txt) and q~do all sorts of things~ and
print qq(Bingo!) or die $!'"
Or, more usefully,
do shell script "perl -e '
$home = $ENV{HOME} ;
$fin = qq($home/junk.txt);
$fout = qq($home/junk2.txt);
open FIN, $fin or die $!;
open FOUT, qq(>$fout);
print FOUT <FIN> ;
`open $fout` ;' "
_______________________________________________
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.