A Tricky quoting problem
From: Alon (noSpam_at_hotmail.com)
Date: 05/30/04
- Next message: Rob Bradford: "BatchFTP"
- Previous message: John Stevens: "Re: Problem with arrays in bash"
- Next in thread: Peter J. Acklam: "Re: A Tricky quoting problem"
- Reply: Peter J. Acklam: "Re: A Tricky quoting problem"
- Reply: rakesh sharma: "Re: A Tricky quoting problem"
- Reply: Paul D. Smith: "Re: A Tricky quoting problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 30 May 2004 08:58:51 +0300
Hi All,
I Have a quoting problem that I can't solve.
I need to make double quote inside single quote inside double quotes.
I'm trying to make a catXML alias that will display formatted XML files.
The catXML script is ready and working (mixture of sed and awk) but now i'm
trying to convert the script to alias.
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?
Thanks,
Alon
- Next message: Rob Bradford: "BatchFTP"
- Previous message: John Stevens: "Re: Problem with arrays in bash"
- Next in thread: Peter J. Acklam: "Re: A Tricky quoting problem"
- Reply: Peter J. Acklam: "Re: A Tricky quoting problem"
- Reply: rakesh sharma: "Re: A Tricky quoting problem"
- Reply: Paul D. Smith: "Re: A Tricky quoting problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]