On 01-Nov-2007, at 21:34, A. Pagaltzis wrote:
    find . \( -name 'foo*' -o -name '*bar' \) -prune -o -exec rm {} \;

There's no nested quotes there. That's barely quoting heck.

It's when you find yourself faced with 'if("'"$A"'" = $0)' and you need to put THAT inside `` and you're trying to remember if "`..."..."...`" parses as ("`...")(...)("...`") or ("`(..."..."...) `") (IYKWIMAITYD) and you decide to shove part of it into a shell function to avoid the problem. THEN you're in quoting hell.

Because they didn't invent shell functions until the '80s.

Reply via email to