#! /bin/bash # BASH/AWK utility to find the sum of all integers # between any two given integers # Fri, 06 Jul 2007 20:46:42 -0400 seq $1 $2 | awk '{x+=$1} END {print x}'