|GNU Bash Reference Manual|
by Chet Ramey and Brian Fox
Paperback (6"x9"), 180 pages
RRP £19.95 ($29.95)
"An essential resource .... the most detailed coverage available for all aspects of Bash" --- Linux User and Developer Magazine (Issue 37, Mar 2004) Get a printed copy>>>
8.4.3 Commands For Changing Text
Delete the character at point. If point is at the
beginning of the line, there are no characters in the line, and
the last character typed was not bound to
delete-char, then return EOF.
- Delete the character behind the cursor. A numeric argument means to kill the characters instead of deleting them.
- Delete the character under the cursor, unless the cursor is at the end of the line, in which case the character behind the cursor is deleted. By default, this is not bound to a key.
quoted-insert (C-q or C-v)
- Add the next character typed to the line verbatim. This is how to insert key sequences like C-q, for example.
self-insert (a, b, A, 1, !, ...)
- Insert yourself.
- Drag the character before the cursor forward over the character at the cursor, moving the cursor forward as well. If the insertion point is at the end of the line, then this transposes the last two characters of the line. Negative arguments have no effect.
- Drag the word before point past the word after point, moving point past that word as well. If the insertion point is at the end of the line, this transposes the last two words on the line.
- Uppercase the current (or following) word. With a negative argument, uppercase the previous word, but do not move the cursor.
- Lowercase the current (or following) word. With a negative argument, lowercase the previous word, but do not move the cursor.
- Capitalize the current (or following) word. With a negative argument, capitalize the previous word, but do not move the cursor.
Toggle overwrite mode. With an explicit positive numeric argument,
switches to overwrite mode. With an explicit non-positive numeric
argument, switches to insert mode. This command affects only
vimode does overwrite differently. Each call to
readline()starts in insert mode. In overwrite mode, characters bound to
self-insertreplace the text at point rather than pushing the text to the right. Characters bound to
backward-delete-charreplace the character before point with a space. By default, this command is unbound.
|ISBN 0954161777||GNU Bash Reference Manual||See the print edition|