in reply to Re^3: backticks and quotation trouble in bash
in thread backticks and quotation trouble in bash

Thanks, I see it now. You have answered me perfectly.
  • Comment on Re^4: backticks and quotation trouble in bash

Replies are listed 'Best First'.
Re^5: backticks and quotation trouble in bash
by Tommy (Chaplain) on Dec 18, 2012 at 16:29 UTC

    In bash, you can't nest backticks, but you can nest the newer, more flexible "$()" construct:

    echo "$( command arg arg '$( nested_command arg arg )' )"
    --
    Tommy
    $ perl -MMIME::Base64 -e 'print decode_base64 "YWNlQHRvbW15YnV0bGVyLm1lCg=="'