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, and until.

Argument completion

Non-numeric arguments to a command. Relevant commands are enable and info.

Variable name completion

Global variable names, and function arguments in the current context if the program is running. Relevant commands are display, print, set, and watch.