LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Whitespace Issue in terminal with Ubuntu 10.10 (https://www.linuxquestions.org/questions/ubuntu-63/whitespace-issue-in-terminal-with-ubuntu-10-10-a-829510/)

metzava 08-31-2010 08:30 AM

Whitespace Issue in terminal with Ubuntu 10.10
 
Starting a program with the windows emulator isn't working correctly. If i create a desktop symlink, then wine bugs out not having displayed any information or graphical display material. I presume its because it works like executables that are in a zip with .dlls under windows, it needs some file or folder that is in the program directory wine is using for an application.

If I put into my terminal this, which I've used this precise input before without a problem:

Code:

metzava@metzava-desktop:~$ wine /home/metzava/.wine/drive_c/Program Files/program
my computer sends me this lovely tidbit..

Code:

wine: cannot find '/home/metzava/.wine/drive_c/program'
metzava@metzava-desktop:~$

Does Unix not handle whitespace? The way I input the directive is exactly how it is listed on the folder name with capitols and whitespace (Program Files).

Andersen 08-31-2010 08:41 AM

Quote:

Originally Posted by metzava (Post 4083523)
Starting a program with the windows emulator isn't working correctly. If i create a desktop symlink, then wine bugs out not having displayed any information or graphical display material. I presume its because it works like executables that are in a zip with .dlls under windows, it needs some file or folder that is in the program directory wine is using for an application.

If I put into my terminal this, which I've used this precise input before without a problem:

Code:

metzava@metzava-desktop:~$ wine /home/metzava/.wine/drive_c/Program Files/program
my computer sends me this lovely tidbit..

Code:

wine: cannot find '/home/metzava/.wine/drive_c/program'
metzava@metzava-desktop:~$

Does Unix not handle whitespace? The way I input the directive is exactly how it is listed on the folder name with capitols and whitespace (Program Files).

It handles whitespaces, but it uses them like separators, so you should "tell" it that this whitespace is something else by using a backslash like this (notice backslash after Program):

wine /home/metzava/.wine/drive_c/Program\ Files/program

metzava 08-31-2010 09:05 AM

donken
 
okay i had said if i have to put something in it, then its reinterpreting not handling it, but i just tried it and see what you mean. it still requires the whitespace its just acting like a * in windows wildcards.

well actually i just tried it leaving the whitespaces in there too, and its still not working out alright. these are the two methods i used:
Code:

wine /home/metzava/.wine/drive_c/Program\Files/pro\gram.exe
wine /home/metzava/.wine/drive_c/Program \Files/Pro \gram.exe

bah! fonud the answer....forward slash goes before the whitespace not after it....thanks!
neither has worked..

Andersen 08-31-2010 09:32 AM

Quote:

Originally Posted by metzava (Post 4083564)
ts just acting like a * in windows wildcards.

Well.. no, it doesn't act like that, but that wasn't the issue anyway.:)
If you want to know something about it, there's a lot of info, just ask Google.

Quote:

Originally Posted by metzava (Post 4083564)
well actually i just tried it leaving the whitespaces in there too, and its still not working out alright. these are the two methods i used:
Code:

wine /home/metzava/.wine/drive_c/Program\Files/pro\gram.exe
wine /home/metzava/.wine/drive_c/Program \Files/Pro \gram.exe

bah! fonud the answer....forward slash goes before the whitespace not after it....thanks!
neither has worked..

Well, I did show the example in my previous post:

Quote:

It handles whitespaces, but it uses them like separators, so you should "tell" it that this whitespace is something else by using a backslash like this (notice backslash after Program):

wine /home/metzava/.wine/drive_c/Program\ Files/program
all you had to do is to copy that, there's no need for "stabbing in the dark" ;)


All times are GMT -5. The time now is 05:53 AM.