[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Escaping URLs on the command line?
From: |
Thomas Dickey |
Subject: |
Re: lynx-dev Escaping URLs on the command line? |
Date: |
Wed, 24 Apr 2002 08:16:20 -0400 (EDT) |
>
> On Wed, Apr 24, 2002 at 07:53:07AM -0400, Thomas Dickey wrote:
> > lynx does this internally (to invoke external programs). most cases can
> > be handled by using single quotes around the whole string, and a backslash
> > before a single quote, e.g.,
> >
> > 'this isn\'t a sentence'
>
> That doesn't work either on /bin/sh or on bash 2.02.1 here on Solaris 8.
> Oh, and it doesn't work on /bin/csh or tcsh 6.08. Or /bin/ksh...
>
> You'd need to write
>
> 'this isn'\''t a sentence.'
agree (I should test before responding).
This also works (but double-quotes aren't as good):
"this isn\'t a sentence."
--
Thomas E. Dickey <address@hidden> <address@hidden>
http://dickey.his.com
ftp://dickey.his.com
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden