#!/bin/bash

# echo4-demo.sh
# shell script that calls a little function echo4
#     in several different ways (including in backquotes)
#
# by: Sharon Tuttle
# last modified: 2022-11-30

echo4()
{
    echo -n $1
    echo -n $1
    echo -n $1
    echo
    echo $1
}

# calling echo4 in several different ways

echo4 Nothing

lookity=`echo4 Something`
echo "\$lookity: [$lookity]"

echo4 Ego | wc -l

echo "FINISHED"