• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Shell Script on a string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Shell Script on a string
      • From: John Delacour <email@hidden>
References: 
 >Re: Shell Script on a string (From: John Delacour <email@hidden>)

  • Prev by Date: Re: wakeup call
  • Next by Date: OS X Finder and file names copy/paste?
  • Previous by thread: Re: Shell Script on a string
  • Next by thread: Re: Shell Script on a string
  • Index(es):
    • Date
    • Thread