Frequently you will want to move one or more lines
from one place in a file to another. The command
will pick up lines 5 through 10 and move them after line 30.
You can of course use context searches for addresses:
finds a line containing "ab", then one containing "cd",
and moves the section of the file they bracket after the
next line containing "xx".
Or you can use ".", "$", etc.:
moves the three lines starting at "." to the end.
There is a file "word" which
is out of order; re-arrange it to be alphabetical.