Hi guys,
Here's the part of the script, I have the function called usage and I want to put parameter in that function. How do I do that?
Thanks guys,
Here's the part of the script, I have the function called usage and I want to put parameter in that function. How do I do that?
Code:
usage($tambah){
echo $tambah
echo ""
}
if [ $# -eq 0 ] ; then
print ERROR: no [batch no] specified
tambah="missing"
usage($tambah)
exit 1
fi
Thanks guys,