!
Keywords: !, ^
=== USER MANUAL ===
Usage: !
! <prefix>
^old^new
Description:
Repeat or modify your last command using shell-style shortcuts.
Repeat:
! ................ Repeat your last command exactly.
! <prefix> ........ Search your command history for the most
recent command starting with prefix and
repeat it. History stores the last 5 commands.
Substitution:
^old^new .......... Replace the first occurrence of old in your
last command with new, then execute the result.
If old is not found, prints "Invalid
substitution."
Examples:
> tell rasmusse Hi there, how are you?
No one by that name here.
> ^asmusse^asmussen
You tell Rasmussen, 'Hi there, how are you?'
> ! tell
You tell Rasmussen, 'Hi there, how are you?'
Related Helpfiles: ALIAS
=== END MANUAL ===