Last active
March 24, 2016 23:35
-
-
Save rjurney/4634cf7301bace6fd849 to your computer and use it in GitHub Desktop.
Why can't I do a multi-line bash quote?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
read -d '' sbt_text=$(cat <<"EOF" | |
#!/bin/bash | |
SBT_OPTS="-Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256M"; | |
java $SBT_OPTS -jar `dirname $0`/sbt-launch.jar "$@" | |
EOF | |
) | |
echo $sbt_text | |
#!/bin/bash > SBT_OPTS="-Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256M"; > java -jar /sbt-launch.jar "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment