Re: A Tricky quoting problem

From: rakesh sharma (sharma__r_at_hotmail.com)
Date: 05/30/04


Date: 30 May 2004 04:55:56 -0700


"Alon" <noSpam@hotmail.com> wrote in message news:

>
> I Have a quoting problem that I can't solve.
> I need to make double quote inside single quote inside double quotes.

  ..[snip]...

> The following does not work:
> alias catXML "cat \!* | sed -e 's/[ ]*["][ ]*/ABC/g' "
>
> I want that eventually:
> catXML= cat \!* | sed -e 's/[ ]*["][ ]*/ABC/g'
>
> How do I do that?
>

  alias catXML 'cat \!* | sed -e '\''s/[ ]*["][ ]*/ABC/g'\''



Relevant Pages

  • Re: Problem with single quote character
    ... Building dynamic SQL sometimes results in statements like ... because the quote in renders the sql ... run it through REPLACE first to change the single quote to two single ... About the only other character I can think of off the top of my head ...
    (comp.databases.oracle.misc)
  • RE: Password
    ... "Dave Hawks" wrote: ... There should be as a double quote, single quote, and space before the AND as ... Make sure that after PWORD = there is a space, single quote, and double quote. ... USERID = '" ...
    (microsoft.public.access.formscoding)
  • Re: OT: Steve Carroll begs to go to jail
    ... And yet you cannot quote a single quote of mine where I have *ever* done so. ... of harassing her any time you'd like, Snit. ... "based on sexual or lustful feelings" for you. ...
    (comp.sys.mac.advocacy)
  • RE: Password
    ... There should be as a double quote, single quote, and space before the AND as ... Make sure that after PWORD = there is a space, single quote, and double quote. ... USERID = '" ... "Dave Hawks" wrote: ...
    (microsoft.public.access.formscoding)
  • RE: Password
    ... Note there are some single quote ... There should be as a double quote, single quote, and space before the AND as ... USERID = '" ... "Dave Hawks" wrote: ...
    (microsoft.public.access.formscoding)