Quickly deleting multiple lines from a text file

This may be useful to someone, it was for me.

To delete (say) between lines 10 and 1000000000 (inclusive) use sed:

sed 10,1000000000d <infile >outfile