G[ Same as g , except that the hold space is pasted below the address instead of overwriting it. The example shows a simple way to "cut and paste" lines. Example
This script collects all lines containing the word
/Item:/{ H d } /Summary of items:/G |
|