if test $# == 0
then
echo  "

	counted loop in Bash. Might be handy for generating args to
	a shell  for  construct, e.g.
	
	        for f in \`count 0 40\` ; do touch $f ; done


	Note also this serves as an example of a counted loop in Bash, which
	is tricky.


	USAGE:   count START LIMIT

		Where START is an integer less than the integer  LIMIT.
		e.g.   count 5 20

"
fi

if [ $1 -lt $2  ]
then
	declare -i count
	count=$(($1 - 1 ))
	while [ $count -lt $(($2-1)) ]  
	do 
		count=$(($count+1)) 
		echo -n " "$count
	done
echo
fi


#   RIGHTS Copyright 1999 Richard Allen Hohensee
#   This file is released for redistribution only as part of an entire
#   intact cLIeNUX Core.


