Slide 3 of 80
Notes:
- Redo was enhanced in late 5.5 to operate on “words”. A word is defined as any set of characters delimited by a: space, comma, semicolon, equal sign, left or right parentheses, left or right brackets, single quote or double quote. A “word” in redo is the same as the default word definition used by the DELIMPOS, WORD and XWORD CI functions.
- Redo deals with words as it does with characters. Words can be deleted (dw), upshifted (^w) and downshifted (vw).
- Words can be operated on from the end of the line: >dw - deletes the last word, >^w - upshifts the last word, >vw - downshifts the last word.
- Upshifting and downshifting can be useful when editing POSIX file names, or entering procedure names in the debugger -- times when character case matters.