Windows · Developer Tools
GNU awk
gawk is a powerful pattern-matching and processing language. It is based on the language AWK. Several kinds of tasks occur repeatedly when working with text…
Version 5.3.2 · by The GNU Project
Official site: gnu.org
About GNU awk
gawk is a powerful pattern-matching and processing language. It is based on the language AWK.
Several kinds of tasks occur repeatedly when working with text files. You might want to extract
certain lines and discard the rest. Or you may need to make changes wherever certain patterns appear,
but leave the rest of the file alone. Writing single-use programs for these tasks in languages such
as C, C++, or Java is time-consuming and inconvenient. Such jobs are often easier with awk. The awk
utility interprets a special-purpose programming language that makes it easy to handle simple
data-reformatting jobs.
The GNU implementation of awk is called gawk; if you invoke it with the proper options or environment
variables (see Options), it is fully compatible with the POSIX specification of the awk language and
with the Unix version of awk maintained by Brian Kernighan.
Using awk (or gawk) allows you to
Manage small, personal databases
Generate reports
Validate data
Produce indexes and perform other document preparation tasks
Experiment with algorithms that you can adapt later to other computer languages
Also, gawk provides facilities that make it easy to
Extract bits and pieces of data for processing
Sort data
Perform simple network communications.
How to install GNU awk
- Click Download — the developer's official website opens in a new tab.
- Download the latest version there and run it. Choose Custom/Advanced where offered, and skip any bundled extras.
- Prefer the command line? With Chocolatey you can install and update it with: choco install gnu-awk
- Open GNU awk once it finishes installing.
Frequently asked questions
Is GNU awk free to download?
Yes. The Download button sends you to gnu.org, the developer's official site, where GNU awk is available to download. Grabware doesn't host or modify any files.
What is the latest version of GNU awk?
The version listed here is 5.3.2, published /Date(1759. The developer's site always has the newest release.
How do I install GNU awk from the command line?
With Chocolatey, run: choco install gnu-awk. This installs it from the official source and keeps it updated.
Is GNU awk safe?
GNU awk downloads directly from the developer. As always, scan the installer with your antivirus and choose Custom setup to skip any bundled extras.
Alternatives to GNU awk
More
March 2014 servicing stack update for Windows 8.1 and Windows Server 2012 R2 (KB2919442)The update fixes some issues in the servicing stack of Windows 8.1 and Windows Server 2012 R2.Chocolatey Compatibility ExtensionExtension package to provide compatibility with older versions of Chocolatey
Update for Universal C Runtime in Windows (KB2999226)Update for Universal C Runtime (CRT) in Windows. Before you install this update, check out the prerequisites section.