I am working with AppleScript and need to do this:
set TextToWrite to \" #!/bin/bash cd \"$( dirname \"$0\" )\" java -server -Xmx4G -jar ./craftbukkit.jar\"
The following syntax can also be used:
set aString to "quoted" set myString2 to "This is a " & quoted form of aString & " text."