Do Command [DO]. Robelle Suprtool 4.6.01, STExport, Suprlink
Werbung
Werbung
Do Command [DO]
The Do command repeats (without changes) any of the previous 1000 commands.
[ ALL | @ ]
DO [ start [ / stop ] ]
[ string ]
[ ALL | @ ]
(Default: repeat the previous command)
Commands are numbered sequentially from one as entered; the last 1000 of them are retained. Use the :Listredo command to display the previous commands. You can repeat a single command (do 5), a range of commands (do 5/10) or the most recent command whose name matches a string (do list). If you want to modify the commands before executing them, use Redo or Before.
Examples
$listredo
$do {do previous command again}
$do 39 {do command line 39 again}
$do 5/8 {do command lines 5 to 8 again}
$do input {do most recent Input command}
$do -2 {do command before previous}
$do -7/-5 {do by relative line number}
$do 5/ {do command lines 5 to "last"}
Notes
The Do command cannot be abbreviated.
Persistent Redo
Redo commands can be saved in a permanent file and can therefore be used from another session. You can use the Set redo command to specify a filename to save your redo commands. Please see the Set Redo command for details.
206
• STExport Commands
Suprtool 4.6.01 for HP-UX User Manual
Herunterladen
Werbung