The man page berates old-timers:
When the old-style backquote form of substitution is used...
However, who is it that is too hungry for the next ")"?:
$ k=$(case x in x) :;; esac)
bash: syntax error near unexpected token `;;'
$ k=$(case x in x) :; esac)
bash: syntax error near unexpected tok
> However, who is it that is too hungry for the next ")"?:
> $ k=$(case x in x) :;; esac)
> bash: syntax error near unexpected token `;;'
> $ k=$(case x in x) :; esac)
> bash: syntax error near unexpected token `esac'
> $ k=`case x in x) :; esac`
I believe this is a bug in bash 3.0. I have confir
> I have confirmed that
> it still exists in bash-3.1-beta1, but have not yet tested
> if bash 3.1 final patchlevel 1 has fixed the bug.
My results: bash 3.1, with or without patch 1, still has
the bug.
$ k=$(case x in x) echo hi; esac)
bash: syntax error near unexpected token `esac'
> The rati