Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Using open (escaping spaces etc)' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Using open (escaping spaces etc)
Authored by: helary on Jan 08, '03 10:04:56PM

the terminal does not need "" to take spaces or other special characters into account.

just escape them with anti-slash (\\).

thus:

open -a "project builder"

becomes:

open -a project\\ builder



[ Reply to This | # ]
Using open (escaping spaces etc)
Authored by: Moofisto on Jan 24, '03 09:20:34PM

Oops, I figure you were trying to make the backslash show up on this page by escaping it with another backslash. In my browser, I'm seeing both backslashes.

Of course, when typing these in the Terminal, there should be only one backslash.



[ Reply to This | # ]