extract the lines between specific line number from a text file

Hi
I want to extract certain text between two line numbers like

23234234324 and
54446655567567

How do I do this with a simple sed or awk command?

Thank you.

---------- Post updated at 06:16 PM ---------- Previous update was at 05:55 PM ----------

found it:
sed -n '#1,#2p' <data-file> > <new-file>

thanks!!

Or -

$ 
$ awk 'NR>=4 && NR<=7' f1
this is line no. 4
this is line no. 5
this is line no. 6
this is line no. 7
$ 
$ perl -ne 'print if $.>=4 && $.<=7' f1
this is line no. 4
this is line no. 5
this is line no. 6
this is line no. 7
$ 

tyler_durden