# for a shell script file that is intended
#    to be a library of sorts --
#    always intended to be included via a source command --
#    I've seen the recommendation to NOT start with the usual
#    hash-tag-bang-bin-bash line
# (since the sourcing script SHOULD have that...!)

# just-moo-functs.sh
# contains a pair of simple Bash functions, moo5 and custom_moo
#
# by: Sharon Tuttle
# last modified: 2022-11-16

# function: moo5
# expects nothing, and prints 5 moos to the screen with
#     a line of stars before and after them

moo5()
{
    echo "*******************"
    echo "moo moo moo moo moo"
    echo "*******************"
}

# function: custom_moo
# expects a name, and prints to the screen a personalized
#     moo

custom_moo()
{
    echo "Dear $1, MOO!"
}