• 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
AS and shell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AS and shell


  • Subject: AS and shell
  • From: Jay Louvion <email@hidden>
  • Date: Thu, 30 Nov 2006 14:28:50 +0100
  • Thread-topic: AS and shell

Title: AS and shell

Hi all, I’m trying to script a shell that includes variables as follows:

#!/bin/sh
export PATH="/opt/darwinports/bin:/bin:/sbin:/usr/bin:/usr/sbin"
id >> "$1/buildimage.log"
date >> "$1/buildimage.log"
rm -rf "$3"
dvdauthor -o "$3" -x "$2" 2>> "$1/buildimage.log"
mkisofs -dvd-video -o "$1/$5.iso" -volid "$5 DVD" "$3" "$4" 2>> "$1/buildimage.log"
rm -rf "$3"

Until now I have been able to get the variables ($1,$2,etc.) all right by “quoted forms of their POSIX paths”, but I don’t know how I can integrate the line breaks there are in this shell in the “do shell” command. Help anyone ?

Best,

j.

Jay Louvion
Studio Casagrande
3, rue Müller-Brun
1208 Geneva

T+4122 840 3272
F+4122 840 3271

skypeme:
jaylouvion

www.studiocasagrande.com


P Please consider the environment before printing this email.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: AS and shell
      • From: Gnarlodious <email@hidden>
    • Re: AS and shell
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: Saving Photoshop File Formats
  • Next by Date: Re: AS and shell
  • Previous by thread: Re: Filemaker 8 Help - Find a record
  • Next by thread: Re: AS and shell
  • Index(es):
    • Date
    • Thread