Re: Shell Script on a string
Re: Shell Script on a string
- Subject: Re: Shell Script on a string
- From: Paul Berkowitz <email@hidden>
- Date: Sat, 16 Nov 2002 09:17:35 -0800
On 11/16/02 1:26 AM, "John Delacour" <email@hidden> wrote:
>
>
set s to "abcde"
>
set fin to "/private/tmp/in.txt"
>
set fout to "/private/tmp/out.txt"
>
set finmac to POSIX file fin
>
set foutmac to POSIX file fout
>
open for access finmac with write permission
>
set eof finmac to 0
>
write s to finmac
>
close access finmac
>
read finmac
>
do shell script "openssl enc -base64 -in " & fin & " -out " & fout
>
set encoded to read foutmac
Is 'read finmac' a sort of logging check-up you used as you put the script
together, or is it doing something, John?
--
Paul Berkowitz
_______________________________________________
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.