[Bug 26243] New: WineFAQ: 7.5. I want to associate a native program with a file type in Wine
wine-bugs at winehq.org
wine-bugs at winehq.org
Fri Feb 25 07:49:31 CST 2011
http://bugs.winehq.org/show_bug.cgi?id=26243
Summary: WineFAQ: 7.5. I want to associate a native program
with a file type in Wine
Product: Wine
Version: unspecified
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs at winehq.org
ReportedBy: kjensen at devnull.dk
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
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list