我知道我可以这样做:
function foo() { echo "foo"; }; export -f foo
但是我可以在不重复函数名称的情况下做到这一点吗?
bash bash-functions
bash ×1
bash-functions ×1