Event Designators
History Interaction
Modifiers
Word designators are used to select desired words from the event.
A `:
' separates the event specification from the word designator. It
may be omitted if the word designator begins with a `^
', `$
',
`*
', `-
', or `%
'. Words are numbered from the beginning
of the line, with the first word being denoted by 0 (zero). Words are
inserted into the current line separated by single spaces.
0 (zero)
|
The |
n
|
The nth word. |
^
|
The first argument; that is, word 1. |
$
|
The last argument. |
%
|
The word matched by the most recent ` |
x-y
|
A range of words; ` |
*
|
All of the words, except the |
x*
|
Abbreviates ` |
x-
|
Abbreviates ` |
If a word designator is supplied without an event specification, the previous command is used as the event.