#!/bin/bash
#
# "venice_beach" - translates English to beach-bunny

# Makes everything, like, totally rad, dude!
function kewl ()
{
        [ -z "$1" ] && {
                # Exit with an error message if no argument has been
                # supplied.
                echo "That was bogus, dude."
                return 1
        }

        echo "Like, I'm thinkin', dude, gimme a minute..."
        sleep 1

        # While the function runs, positional parameters ($1, etc.)
        # refer to those given the function - not the shell script.
        echo $*', dude!'
}

# Process all the command-line arguments
kewl $*

