Christian & Per, et al -- ...and then Per Jessen said... % % Christian Boltz wrote: % % > ~ gets expanded by the shell, but only if it's a separate "word" with % > spaces around. With --foo=~/whatever, it won't work: Weeeellllll... Not exactly. To wit: davidtg@wench:~> echo $SHELL /bin/bash davidtg@wench:~> echo ~ /mnt/data/home/davidtg davidtg@wench:~> FOO=~ ; echo $FOO /mnt/data/home/davidtg davidtg@wench:~> BAR=~/bar ; echo $BAR /mnt/data/home/davidtg/bar It even can work in a parameter: davidtg@wench:~> cat /tmp/T #!/bin/sh echo $1 davidtg@wench:~> /tmp/T foo=~/whatever foo=/mnt/data/home/davidtg/whatever The trick is to have it look like a param instead of an argument: davidtg@wench:~> /tmp/T --foo=~/whatever --foo=~/whatever However, the code that gets the raw tilde could also of course expand it pretty simply, too. % % Thanks Christian, thanks David! Always a pleasure :-) HANW :-D -- David T-G See http://justpickone.org/davidtg/email/ See http://justpickone.org/davidtg/tofu.txt -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org