Re: Regex on OS X
Re: Regex on OS X
- Subject: Re: Regex on OS X
- From: John Delacour <email@hidden>
- Date: Wed, 2 Oct 2002 20:18:06 +0100
At 9:39 pm +1000 2/10/02, Malcolm Fitzgerald wrote:
I'm running a standard install of Jaguar. The only thing I can see
in /Library/Perl/ is a folder called Darwin.
This script should cater for people with either the standard 5.6.0
installation or the Apple-recommended 5.8.0 installation. podpath is
a colon sparated list of directories to search.
"perlfunc"
set podname to result
set pod_ to podname & ".pod"
set html_ to podname & ".html"
set outfile_ to " --outfile=$HOME/pods/" & html_
set outfilePathname to "$HOME/pods/" & html_
try
do shell script "mkdir $HOME/pods/"
end try
set podpath_ to " --podpath=/system/library/perl/pods"
set podpath_ to podpath_ & ":/library/perl/pods"
set infile_ to " --infile=/library/perl/pods/" & pod_
set script_ to "pod2html" & podpath_ & infile_ & outfile_
do shell script script_ & "; open " & outfilePathname
This is not perfect but it does very well.
JD
_______________________________________________
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.