COBOL Manual for TNS and TNS/R Programs

Creating and Compiling HP COBOL Source
Programs
HP COBOL Manual for TNS and TNS/R Programs522555-006
22-3
Reexecuting Previous Commands
Reexecuting Previous Commands
If you enter an exclamation mark (!), TACL displays and executes the last command:
5> !
5> history
1> who
2> fileinfo
3> view myfile
4> history
5> history
6>
If you enter an exclamation mark followed by a number, TACL displays and executes
the command with that number:
6> !4
6> history
1> who
2> fileinfo
3> view myfile
4> history
5> history
6> history
7>
If you enter an exclamation mark followed by text, TACL displays and executes the
most recent command that begins with that text:
7> !v
7> view myfile
8>