|
|
1.1 ! root 1: #print ! 2: Frequently you will want to move one or more lines ! 3: from one place in a file to another. The command ! 4: ! 5: 5,10m30 ! 6: ! 7: will pick up lines 5 through 10 and move them after line 30. ! 8: You can of course use context searches for addresses: ! 9: ! 10: /ab/,/cd/m/xx/ ! 11: ! 12: finds a line containing "ab", then one containing "cd", ! 13: and moves the section of the file they bracket after the ! 14: next line containing "xx". ! 15: Or you can use ".", "$", etc.: ! 16: ! 17: .,.+2m$ ! 18: ! 19: moves the three lines starting at "." to the end. ! 20: ! 21: There is a file "word" which ! 22: is out of order; re-arrange it to be alphabetical. ! 23: #create Ref ! 24: bands ! 25: becomes ! 26: course ! 27: dissolve ! 28: events ! 29: for ! 30: have ! 31: human ! 32: in ! 33: it ! 34: necessary ! 35: of ! 36: one ! 37: people ! 38: political ! 39: the ! 40: to ! 41: when ! 42: which ! 43: #create word ! 44: bands ! 45: becomes ! 46: course ! 47: in ! 48: it ! 49: necessary ! 50: of ! 51: one ! 52: people ! 53: political ! 54: dissolve ! 55: events ! 56: for ! 57: have ! 58: human ! 59: the ! 60: to ! 61: when ! 62: which ! 63: #user ! 64: #cmp word Ref ! 65: #log ! 66: #next ! 67: 63.1a 10
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.