|
From: | Thomas Dickey |
Subject: | Re: [Lynx-dev] how to associate file types with applications? |
Date: | Sat, 12 Mar 2005 19:17:31 -0500 (EST) |
On Sat, 12 Mar 2005, Walter Ian Kaye wrote:
At 06:40p -0500 03/12/2005, Thomas Dickey didst inscribe upon an electronic papyrus:On Sat, 12 Mar 2005, Walter Ian Kaye wrote:Going back to Unix <g>, what if there are spaces in the application pathname?Do they get encoded/escaped? If so, what method is used?Lynx attempts to quote tokens when building a shell command. The given example would be a problem since lynx cannot tell if /program files/bin/foo is intended to be two tokens or one.So, um, what is the answer? How to reference an app name containing spaces?
Putting quotes around the full pathname seems to work. "/program files/bin/foo" (Lynx doesn't try to put backslashes before the quotes). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
[Prev in Thread] | Current Thread | [Next in Thread] |