#!/bin/bash

# demo.sh
# demoing code from clicker question poking at the
#     difference between return vs. standard output
#     from a Bash function
#
# by: Sharon Tuttle
# last modified: 2022-11-30

clickerq()
{
    echo "Howdy"
    return 48
}

lookity=`clickerq`
echo "\$?: $?"
echo "\$lookity: $lookity"