I have a file like this (numbers on first column is line number)
30.<unit id=20>
31....
32.</unit>
33.<unit id=40?
34....
35.</unit>
36<unit id=20>
37...
38.</unit>
39.<unit id=40?
40....
41</unit>
I want to print lines between two line numbers, say 32 and 39. How can I accomplish this in Unix?
I'm new to unix.
Note: I don't want perl scripts please.