The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
71 views

what's wrong with embedding php scripts inside bash ones?

I was trying to use php inside bash script, but I came across several problems. My first try failed with error about bash not being able to find end of here-document. The minimal version that still ...
2
votes
1answer
38 views

Reading multine text inside a bash script

I have following graphviz script which I wish to convert to a bash script. #!/bin/bash graph=$(cat <<GRAPHEND graph match { node[style=filled shape=point label= ""]; ...
2
votes
1answer
357 views

Using a here-doc for `sed` and a file

The title says it all, I want to use a here-doc for sed commands and provide the file to be read and the output file. I've looked at Here-Documents from Advanced Bash Scripting guide but it does not ...
4
votes
1answer
464 views

“unexpected end of file” in bash script

I have this if in a bash script: if [ $ACTION = deploy ]; then ${JAVA_HOME}/bin/java ${JVM_ARGS} weblogic.WLST << EOJ connect('XXX','XXX','t3://XXX:8001') jndi(); ls(); ...