Comment appeler une fonction dans un script shell?

J'ai un script shell qui conditionnellement appelle une fonction.

Par Exemple:-

if [ "$choice" = "true" ]
then 
  process_install
elif [ "$choice" = "false" ]
then 
  process_exit
fi

process_install()
{
  commands...
  commands...
}

process_exit()
{
  commands...
  commands...
}

S'il vous plaît laissez-moi savoir comment accomplir cela.

source d'informationauteur user626206