[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev HTString.c patch for HTQuoteParameter()
From: |
Thomas E. Dickey |
Subject: |
Re: lynx-dev HTString.c patch for HTQuoteParameter() |
Date: |
Fri, 14 Jul 2000 10:47:28 -0400 (EDT) |
On Fri, 14 Jul 2000, Klaus Weide wrote:
> Lynx's HTQuoteParameter function already uses a trick like this (not
> exactly as shown by you), but only if the string to be quoted includes
> a single quote character.
>
> ab"cd (five characters) -> 'ab'"'"'cd'
>
> I don't know what DOS or VMS shells do with *that*... But then
VMS uses a different quoting rule (the .com files in Lynx have
several examples, actually). But quotes are used mainly to
evoke symbol substitution or prevent case-conversion by DCL (the shell).
--
T.E.Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden