Thread: escaping a command line inside a bash script
hi,
need add configuration tomcat java_opts
java_opts="
-ddateformat=yyyy-mm-dd hh:mm:ss
"
problem when tomcat starts believes hh:mm:ss command. need keep space between dd , hh. don't know bash script appreciated.
easy,
or maybecode:java_opts=" -ddateformat=yyyy-mm-dd\ hh:mm:ss "
cherzcode:java_opts=" -ddateformat=yyyy-mm-dd%20hh:mm:ss "
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [other] escaping a command line inside a bash script
Ubuntu
Comments
Post a Comment