#! /bin/bash
print () {
echo $1
echo $2
}
function quit () { # function keyword in not mandatory
exit
}
echo Start
print Hello World
print This is demo function call
quit
print This line will not be printed

Scripting is sorcery
#! /bin/bash
print () {
echo $1
echo $2
}
function quit () { # function keyword in not mandatory
exit
}
echo Start
print Hello World
print This is demo function call
quit
print This line will not be printed
