#!/bin/sh
# http://www.berklix.com/~jhs/bin/.sh/args

# A template to copy & build from

# To test:
#  ./bla ; ./bla one two ; ./bla -a one two ; ./bla -f one two
echo "------------"
echo "Count: $#, Args: $*"
if [ "x$#" == "x0" ] ; then	#{{	
	echo "No Args"
else				#}{
	echo "Sniff for parameters"
	if [ "x$1" == "x-f" ] ; then	#{{	
		echo "Assert Force"
		force=yes
		shift
	else				#}{
		echo "No force parameter"
	fi				#}}
fi				#}}
echo "Count: $#, Args: $*"
