YASS (yet another shell script)

jrv at siemens.UUCP jrv at siemens.UUCP
Tue Mar 18 01:37:00 AEST 1986




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



More information about the Comp.sources.unix mailing list