[image of the Head of a GNU]

If you are like many computer users, you would frequently like to make changes in various text files wherever certain patterns appear, or extract data from parts of certain lines while discarding the rest. To write a program to do this in a language such as C or Pascal is a time-consuming inconvenience that may take many lines of code. The job is easy with awk, especially the GNU implementation: gawk.

The awk utility interprets a special-purpose programming language that makes it possible to handle simple data-reformatting jobs with just a few lines of code.

The source code for the latest release of GNU awk is available from the GNU project's ftp server and its many mirrors. The current development sources are available through the gawk project on savannah.

The main gawk manual is available online.

A separate gawkinet manual for the special TCP/IP networking features of GNU awk is also available.

Bug reports and feature suggestions for gawk should be sent to

Return to GNU's home page.

Please send FSF & GNU inquiries & questions to There are also other ways to contact the FSF.

Please send comments on these web pages to, send other questions to

Copyright © 2008 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.

Updated: $Date: 2011/07/01 06:57:06 $ $Author: arnold $