linebreak in a shell script; was Re: What's wrong with this call to zip?
linebreak in a shell script; was Re: What's wrong with this call to zip?
- Subject: linebreak in a shell script; was Re: What's wrong with this call to zip?
- From: tom wible <email@hidden>
- Date: Wed, 27 Feb 2008 19:05:11 -0500
do shell script "cd ~/Desktop" & return &" zip -r test.rtfd.zip
test.rtfd"
> which failed
return is not newline
do shell script "cd ~/Desktop
zip -r test.rtfd.zip test.rtfd"
and it worked
i understand leopard has a newline already defined...i use this on tiger:
property newline : "
"
_______________________________________________
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/archives/applescript-users
This email sent to email@hidden