Is there a way to view a bash function\'s definition in bash?
For example, say I defined the function foobar
foobar
function foobar { echo
set | grep -A999 '^foobar ()' | grep -m1 -B999 '^}'
with foobar being the function name.