18 May
2018
18 May
'18
22:25
Hello, Am Freitag, 18. Mai 2018, 21:50:25 CEST schrieb Per Jessen:
When I run:
myexecutable --config=~/job00001.conf
from the bash command line, surely am I right to expect ~/job00001.conf to be resolved to "/home/per/job00001.conf" ?
~ gets expanded by the shell, but only if it's a separate "word" with spaces around. With --foo=~/whatever, it won't work: # echo --foo=~/public_html --foo=~/public_html # echo --foo ~/public_html # with space instead of = --foo /home/cb/public_html Using $HOME should always work ;-) Regards, Christian Boltz -- Linux - und dein PC macht nie wieder blau. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org