In case kjensen will start looking why I reverted his changes - they are
wrong. Obviously he didn't test them.
$1 "`wine winepath -u "$2"`" | sed 's/ /\\ /'
Not sure how piping output of a native command through sed will fix
"argument to the program contain spaces it will not work". The argument with
spaced does perfectly work with current script. That's why there are two
pairs of double quotes.
@="/bin/sh ~/bin/run_linx_program ooffice \"%1\""
This is bogus, Wine does not perform *NIX shell expansions (~ is a shell
expansion).
Vitaliy.