On Fri, 23 Feb 2001, you wrote: > > 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 echo "2,10p\nq\n" | ed -s file