Re: A Tricky quoting problem
From: rakesh sharma (sharma__r_at_hotmail.com)
Date: 05/30/04
- Next message: Bob Kryger: "Re: Unix without shell"
- Previous message: Peter J. Acklam: "Re: A Tricky quoting problem"
- In reply to: Alon: "A Tricky quoting problem"
- Next in thread: Paul D. Smith: "Re: A Tricky quoting problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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'\''
- Next message: Bob Kryger: "Re: Unix without shell"
- Previous message: Peter J. Acklam: "Re: A Tricky quoting problem"
- In reply to: Alon: "A Tricky quoting problem"
- Next in thread: Paul D. Smith: "Re: A Tricky quoting problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|