http://qs321.pair.com?node_id=553111


in reply to Printing specific line numbers

If you have head and tail:
head -n 46 filename|tail -n 3 head -n 89 filename|tail -n 3 head -n 347 filename|tail -n 3