KJensen
2011-02-25 18:42:08 UTC
Hi,
I have submitted a change to the WineFAQ but it seems like you don't
like it -
as it keeps getting reverted... I'll try to explain the change here
(as a last
attempt)
In section 7.5. "I want to associate a native program with a file type
in Wine"
If the argument to the program contains spaces it will not work - so I
have
added sed to change " " (spaces) to "\ " like:
#!/bin/sh
$1 "`wine winepath -u "$2"`" | sed 's/ /\\ /'
I.e. you try to open a .doc file named "my document.doc" then without
sed,
openoffice will not be able to open the file. With sed added it will.
I'm sure that I'm not the only one with this problem.
Another minor thing: I believe most people will find it easier to
understand if
you use ~ as the reference to home instead of telling them to: "make
sure that
$HOME/bin directory is in your $PATH."
But that's just my two cents
Sincerely,
Kim Jensen
PS: I'm just trying to help - but that is a difficult task I see, and
that's shame.
I was not allowed to do so using the wiki..
It is not a "real" bug, so my bug-report was rejected
Well perhaps some mailing list will accept my request otherwise I give
up.
I have submitted a change to the WineFAQ but it seems like you don't
like it -
as it keeps getting reverted... I'll try to explain the change here
(as a last
attempt)
In section 7.5. "I want to associate a native program with a file type
in Wine"
If the argument to the program contains spaces it will not work - so I
have
added sed to change " " (spaces) to "\ " like:
#!/bin/sh
$1 "`wine winepath -u "$2"`" | sed 's/ /\\ /'
I.e. you try to open a .doc file named "my document.doc" then without
sed,
openoffice will not be able to open the file. With sed added it will.
I'm sure that I'm not the only one with this problem.
Another minor thing: I believe most people will find it easier to
understand if
you use ~ as the reference to home instead of telling them to: "make
sure that
$HOME/bin directory is in your $PATH."
But that's just my two cents
Sincerely,
Kim Jensen
PS: I'm just trying to help - but that is a difficult task I see, and
that's shame.
I was not allowed to do so using the wiki..
It is not a "real" bug, so my bug-report was rejected
Well perhaps some mailing list will accept my request otherwise I give
up.