Tuesday, 15 January 2013

bash - How to escape a space on OSX in a Weblogic startup script -



bash - How to escape a space on OSX in a Weblogic startup script -

here problematic portion of script: export java_options="-javaagent:/users/tipton_g/library/application support/intellijidea12/jr-ide-idea/lib/jrebel/jrebel.jar $java_options"

the "application support" directory not found because space not recognized. unfortunately, in case neither application\ back upwards nor "application support" (in quotes) works since entire argument string.

one suggestion create symlink file, i'd find out if there's way escape space when entire thing within quotes.

any suggestions appreciated.

i ended making symlink file , referred symlink in script. seems work fine, if bit hacky.

osx bash escaping space

No comments:

Post a Comment