#!/bin/bash
if [ -z "$1" ]; then
echo usage: $0 "{arg} {arg} etc.."
exit
fi
if [ $# = 1 ]; then
echo you specified a single argument
exit
fi
if [ $# -gt 1 ]; then
echo your specified $# arguments
exit
fi
#!/bin/bash
if [ -z "$1" ]; then
echo usage: $0 "{arg} {arg} etc.."
exit
fi
if [ $# = 1 ]; then
echo you specified a single argument
exit
fi
if [ $# -gt 1 ]; then
echo your specified $# arguments
exit
fi