Re: [Nautilus-list] Bugs 1457 and 1462



on 8/22/00 6:52 PM, Kenneth Kocienda at kocienda eazel com wrote:

> For 1462 - File names containing space don't launch right, your idea to
> use single quotes won't work in one very important respect, and I quote
> the bash man page: "Enclosing characters in single quotes preserves the
> literal value of each character within the quotes. A single quote may
> not occur between single quotes, even when preceded by a backslash."

My approach for this was going to be the following:

    to quote: a#d'x"x
    you do this: 'a#d'\''x"x'

This ends the quoting, inserts a single quote, and then starts the quoting
again. So the quote character turns into the 4-character sequence '\''.

    -- Darin





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]