WARNING - this question is about the Bash before the shellshock vulnerability, due to which it was changed.
I have seen something like this in my bash ENV:
module=() { eval `/usr/bin/modulecmd bash $*` } How does this construct work? What is it called?
I'm not asking about modulecmd, I am asking about the entire construct.