Bash - How to call a function declared in a parent shell?

后端 未结 3 1225
旧时难觅i
旧时难觅i 2020-12-09 05:16

I am writing a bash script that calls functions declared in the parent shell, but it doesn\'t work.

For example:

$ function myfunc() { echo \"Here in         


        
3条回答
提交回复
热议问题