Skip to main content

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,

code:
java_opts="   -ddateformat=yyyy-mm-dd\ hh:mm:ss   "
or maybe

code:
java_opts="   -ddateformat=yyyy-mm-dd%20hh:mm:ss   "
cherz


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [other] escaping a command line inside a bash script


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account