O'Reilly logo

Learning AWK Programming by Shiwang Kalkhanda

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exiting the debugger

We can exit from the debugger anytime by typing the exit or quit or q command. The debugger will give the warning that you are running a program and to press y if you really want to quit. The following is the list of options used for exiting from the debugger:

  • exit
  • quit
  • q

Let's quit from our running debugger session of the calc.awk program using the exit command as follows:

gawk> quitThe program is running. Exit anyway (y/n)? y

We can print a list of all of the GAWK debugger commands with a brief description of their usage using the help or h command.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required