Using 'echo' from 'do shell script'
Using 'echo' from 'do shell script'
- Subject: Using 'echo' from 'do shell script'
- From: Philip Aker <email@hidden>
- Date: Sat, 18 May 2002 02:38:50 -0700
OS X 10.1.4, AppleScript version 1.8.2 reported.
set joe to "joe" & return & "joe" & return
do shell script "echo " & joe & " >~/Desktop/joe.txt"
I'm ending up with a linefeed character at the end of the output
file (as opened in BBEdit Lite) unless I use the '-n' arg to
'echo'. Is there something wrong with the way I'm formating the
input to 'do shell script'?
Philip Aker
http://www.aker.ca
_______________________________________________
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.