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


_______________________________________________ Lynx-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to