[SunHELP] grepping lines

Wolfgang Engelien sunhelp at sunhelp.org
Fri Feb 23 07:54:57 CST 2001


no guru necessary for this one ...

cat file|head -9|tail +3 gives you the lines 3,4,5,...,9

cat file|head|tail +2 gives you the lines 2,3,4,...,10

>>>>

<excerpt><fontfamily><param>Arial</param><smaller> Hi all unix guru's.

I want to "cat" a file and then choose all lines between 2 and 10.  how
can i do this?

Thanks

</smaller></fontfamily>

</excerpt><<<<<<<<






More information about the SunHELP mailing list