Bash: pass a function as parameter Bash: pass a function as parameter bash bash