Readline Support (The GNU Awk User’s Guide)
From Get docs
Gawk/docs/latest/Readline-Support
Next: Limitations, Previous: List of Debugger Commands, Up: Debugger [Contents][Index]
14.4 Readline Support
If gawk
is compiled with the GNU Readline library, you can take advantage of that library’s command completion and history expansion features. The following types of completion are available:
- Command completion
- Command names.
- Source file name completion
- Source file names. Relevant commands are
break
,clear
,list
,tbreak
, anduntil
. - Argument completion
- Non-numeric arguments to a command. Relevant commands are
enable
andinfo
. - Variable name completion
- Global variable names, and function arguments in the current context if the program is running. Relevant commands are
display
,print
,set
, andwatch
.