How about:
sed -n ${1}p ${2}
This will work for invocations such as 'line 25,30 file' to print lines
25 through 30 or for that matter any valid address ranges.
Jim Vallino
Siemens Research and Technology Lab.
Princeton, NJ
{allegra,ihnp4}!princeton!siemens!jrv