Notices: This section not yet converted to new layout. Download stats are rolling back out.

GNU awk

5.0.0

Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator gep13 on 6/3/2019.

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

To install GNU awk, run the following command from the command line or from PowerShell:

C:\> choco install gawk

To upgrade GNU awk, run the following command from the command line or from PowerShell:

C:\> choco upgrade gawk

Files

Hide
  • tools\chocolateyinstall.ps1 Show
    $root = Join-Path "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)" "install"
    New-Item -ItemType Directory -Force -Path $root | Out-Null
    $packageArgs = @{
    	packageName   = $env:ChocolateyPackageName
    	unzipLocation = $root
    	fileType      = 'zip'
    	url           = 'https://sourceforge.net/projects/ezwinports/files/gawk-5.0.0-w32-bin.zip/download'
    	url64bit      = 'https://sourceforge.net/projects/ezwinports/files/gawk-5.0.0-w32-bin.zip/download'
    	checksum      = 'f2176bf26260e8fb100b5446b49a8a102c8bda22cd7b3d394f2f74b813357d67'
    	checksumType  = 'sha256'
    	checksum64    = 'f2176bf26260e8fb100b5446b49a8a102c8bda22cd7b3d394f2f74b813357d67'
    	checksumType64= 'sha256'
    
    }
    Install-ChocolateyZipPackage @packageArgs
    
    

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • The GNU Project

Tags

Version History

Version Downloads Last updated Status
GNU awk 4.2.142 1257 Sunday, October 21, 2018 approved
GNU awk 4.2.132 103 Monday, September 24, 2018 approved

Discussion for the GNU awk Package

Ground rules:

  • This discussion is only about GNU awk and the GNU awk package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or GNU awk, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok