#!/bin/bash

# little shell demonstrating how to check for a desired
#     number of command-line arguments (and exit if they
#     aren't provided...)
# also an example of numeric comparison
# by: Sharon Tuttle
# last modified: 10-10-12

if [ $# -lt 6 ]
then
    echo "$0: must have more than 5 command-line args"
    exit 1
fi

echo "have more than five! have $# "