Downloads:
56,911
Downloads of v 5.0.1:
3,536
Last Update:
28 Jun 2019
Package Maintainer(s):
Software Author(s):
- The GNU Project
Tags:
text-processor awk- Software Specific:
- Software Site
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
GNU awk
This is not the latest version of GNU awk available.
- 1
- 2
- 3
5.0.1 | Updated: 28 Jun 2019
- Software Specific:
- Software Site
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
56,911
Downloads of v 5.0.1:
3,536
Maintainer(s):
Software Author(s):
- The GNU Project
GNU awk 5.0.1
This is not the latest version of GNU awk available.
- 1
- 2
- 3
Some Checks Have Failed or Are Not Yet Complete
Not All Tests Have Passed
Validation Testing Passed
Verification Testing Passed
DetailsScan Testing Resulted in Flagged:
This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.
We recommend clicking the "Details" link to make your own decision on installing this package.
Deployment Method: Individual Install, Upgrade, & Uninstall
To install GNU awk, run the following command from the command line or from PowerShell:
To upgrade GNU awk, run the following command from the command line or from PowerShell:
To uninstall GNU awk, run the following command from the command line or from PowerShell:
Deployment Method:
This applies to both open source and commercial editions of Chocolatey.
1. Enter Your Internal Repository Url
(this should look similar to https://community.chocolatey.org/api/v2/)
2. Setup Your Environment
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment
Option 1: Cached Package (Unreliable, Requires Internet - Same As Community)-
Open Source or Commercial:
- Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
- You can also just download the package and push it to a repository Download
-
Open Source
-
Download the package:
Download - Follow manual internalization instructions
-
-
Package Internalizer (C4B)
-
Run: (additional options)
choco download gawk --internalize --version=5.0.1 --source=https://community.chocolatey.org/api/v2/
-
For package and dependencies run:
choco push --source="'INTERNAL REPO URL'"
- Automate package internalization
-
Run: (additional options)
3. Copy Your Script
choco upgrade gawk -y --source="'INTERNAL REPO URL'" --version="'5.0.1'" [other options]
See options you can pass to upgrade.
See best practices for scripting.
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
choco upgrade gawk -y --source="'INTERNAL REPO URL'" --version="'5.0.1'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Install gawk
win_chocolatey:
name: gawk
version: '5.0.1'
source: INTERNAL REPO URL
state: present
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
chocolatey_package 'gawk' do
action :install
source 'INTERNAL REPO URL'
version '5.0.1'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
cChocoPackageInstaller gawk
{
Name = "gawk"
Version = "5.0.1"
Source = "INTERNAL REPO URL"
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'gawk':
ensure => '5.0.1',
provider => 'chocolatey',
source => 'INTERNAL REPO URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
4. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
This package was approved as a trusted package on 02 Feb 2020.
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
md5: F2BE0658DADBE79F4A61BFF1745C5850 | sha1: CC59FA64E56FCFEBD59D487DA47B58D1A0739E7E | sha256: 76936106718461AE4CF16997514715DD4487340DFB86994ADFBDEFE7844CFB65 | sha512: D1B1F7AFF3A2E7829E5AF3989C8E6C63928640A2553943E7DA58DE46C6134584FDEDB2F730873C279F82ACE7733F3C30F149A1888C59AED5C2B5A89E7BF39E16
md5: F2BE0658DADBE79F4A61BFF1745C5850 | sha1: CC59FA64E56FCFEBD59D487DA47B58D1A0739E7E | sha256: 76936106718461AE4CF16997514715DD4487340DFB86994ADFBDEFE7844CFB65 | sha512: D1B1F7AFF3A2E7829E5AF3989C8E6C63928640A2553943E7DA58DE46C6134584FDEDB2F730873C279F82ACE7733F3C30F149A1888C59AED5C2B5A89E7BF39E16
@sh igawk %1 %2 %3 %4 %5 %6 %7 %8 %9
extproc sh d:/usr/test-gawk-5.0.1/bin/igawk.cmd
shift
#! /bin/sh
# igawk --- like gawk but do @include processing
# Arnold Robbins, [email protected], Public Domain
# July 1993
igs=${TMP:-/tmp}/igs$$
ige=${TMP:-/tmp}/ige$$
if [ "$1" = debug ]
then
set -x
shift
else
# cleanup on exit, hangup, interrupt, quit, termination
#trap 'rm -f $igs $ige' 0 1 2 3 15
trap 'rm -f $igs $ige' 0 2 15
fi
while [ $# -ne 0 ] # loop over arguments
do
case $1 in
--) shift; break;;
-W) shift
set -- -W"$@"
continue;;
-[vF]) opts="$opts $1 '$2'"
shift;;
-[vF]*) opts="$opts '$1'" ;;
-f) echo @include "$2" >> $igs
shift;;
-f*) f=`echo "$1" | sed 's/-f//'`
echo @include "$f" >> $igs ;;
-?file=*) # -Wfile or --file
f=`echo "$1" | sed 's/-.file=//'`
echo @include "$f" >> $igs ;;
-?file) # get arg, $2
echo @include "$2" >> $igs
shift;;
-?source=*) # -Wsource or --source
t=`echo "$1" | sed 's/-.source=//'`
echo "$t" >> $igs ;;
-?source) # get arg, $2
echo "$2" >> $igs
shift;;
-?version)
echo igawk: version 1.0 1>&2
gawk --version
exit 0 ;;
-[W-]*) opts="$opts '$1'" ;;
*) break;;
esac
shift
done
if [ ! -s $igs ]
then
if [ -z "$1" ]
then
echo igawk: no program! 1>&2
exit 1
else
echo "$1" > $igs
shift
fi
fi
# at this point, $igs has the program
gawk -f igawk.awk $igs > $ige
eval gawk -f '$ige' $opts -- "$@"
exit $?
md5: C59EC53F092C4F2185A7EC9343774B8B | sha1: E8798F4F34C32947F500A794B63C51F73374EF28 | sha256: CA14A884FB1EF1CB965532E6305C248AE6D757FC05DB9D3FDD49B072CE03727D | sha512: 6D049D60B4FAEB5198F14A3C1492B23BE809BB96F3A27434435D26788CD84A43E170417C0B6C27AACFC21CE89B0618B6EDDD879588E9B21B4918EBEC66A6148C
md5: 6CF3A6D2CEA2C83F38EDCA73CC97D286 | sha1: A268419830C7EB5050F4B0ABE41BFDCDC196973E | sha256: 4522FD804DDA0EDACFFC0F173BADFD86E535C4C34946F065E30D4EE654E44402 | sha512: 0AEA0AD1634BC7BBF352770BF06C3AA994D98A308E3131A629425951795BF8F0FCAEDA9071356091007E39FAB27B1A42CDEAD2A5AC607991FA20393A37CC7436
md5: E9A2AB865D663E50C4961A36D9E0703D | sha1: CB6FF1C59857919EF63EBD019D8CF69F2487BF6E | sha256: 519948C61B71999AF1781BB3EFAF236AB234ECF0DE04391EAC1B628BCAF5237D | sha512: 5066B05D481B5B3685DFC15842EB2C1CDC56B47ED0DA1201E0E58F5D317DA91D577E1473F0674ADF25BA4A5F1B119B1F5F4F6FD75D79C5D0E2B929934804AD3A
md5: F1007D102EF6E439C3B1BD376F1E2943 | sha1: DB2C464539BF9413B2B9E92E5E862EF03CD9E19E | sha256: 442CFAD18C0897D37C54D6AD48A4D12689A3EE8875348BD13670F4043B4C6D99 | sha512: F7A78DA4261D60F0252F5F380CE6AB2C0833962950751EA90543810FA1484827BE0CE6994AAFBB23B414582627FAC27A07237D45E04ECDA3F36A4D6214BCD13A
md5: F2779E00C3F336D3613152742B87B374 | sha1: 7E70100A38705BBA72362A2A4147BB8E06DC0EA6 | sha256: 9811D60F81CDB4B2ACE2D4789056A741FEDBE3768A6299B8271DDA69401EA87B | sha512: 7E48AC3BCDA942576F4E8A28B9BBB319471768CC1E3E3EF1922E464B3ED15900D4336AFA195F308FFDD18FD393DA38275C9AFDA8FF77FC83B7D69FCDC6AFF686
md5: 6CCA241BE48F9C5E230BB1503C4954D5 | sha1: D529A2B623EF783F33BD13085AFE0A61C9401FFC | sha256: 082F1F7A2E2AF590D0039F3C871297281C5C55D4DD85A058453EAA052920DE88 | sha512: 2D8363363EC3AD8B2FD3635A61ED07A8D5B9D29C7BF3C2E4DC5D6C5856CD363A4BAB7370FD993D651DADF5937F87AED167DD4FC2CBAE660921C19C59DAB1AD02
md5: 11D52560869FDDA91D469A3A75E0D1E5 | sha1: 6D5040B9EB58339B5DAE2C717EE5009699B1F83C | sha256: FF2533B62A8EA25FD70E02E490FD25B4C4A08A61354442E0113D475E149307BC | sha512: F45B46D1541F860A778FA2FBE67A9300D4206231A4C13ADC6EA8595C4D9E325B3898C6511E87BD3A05E9564D3E9F80A9F29F63E231DC87346C3738430C816863
md5: 6EA3FA1C04154605D0CDEB1868943A4B | sha1: 440B9E0B3CD53228271F897ED540FB4DA289AC45 | sha256: CADC3686B6743FC4911814A0F2A69856478471D60502E54C7A185BE11A842FE8 | sha512: 0E0509E1A697FC8360CB5100D8400AD43FAE7C19E297A7C21B1BFB554FC11F5E13143B33B141E56D1296A500992C69D22DCD4F39C37734D17FA6779CEFB3FC31
md5: C59EC53F092C4F2185A7EC9343774B8B | sha1: E8798F4F34C32947F500A794B63C51F73374EF28 | sha256: CA14A884FB1EF1CB965532E6305C248AE6D757FC05DB9D3FDD49B072CE03727D | sha512: 6D049D60B4FAEB5198F14A3C1492B23BE809BB96F3A27434435D26788CD84A43E170417C0B6C27AACFC21CE89B0618B6EDDD879588E9B21B4918EBEC66A6148C
md5: 6CF3A6D2CEA2C83F38EDCA73CC97D286 | sha1: A268419830C7EB5050F4B0ABE41BFDCDC196973E | sha256: 4522FD804DDA0EDACFFC0F173BADFD86E535C4C34946F065E30D4EE654E44402 | sha512: 0AEA0AD1634BC7BBF352770BF06C3AA994D98A308E3131A629425951795BF8F0FCAEDA9071356091007E39FAB27B1A42CDEAD2A5AC607991FA20393A37CC7436
md5: 7C10DE2CC41C23F61B83E6312831A544 | sha1: 71AC7CA8A9014FF97F13C3DB05E07307445944B8 | sha256: 6D5DC3CC6A0EF542ABFD8C8F205E159632181FA3680BABA9E06F6D0A0081DDDD | sha512: 3A80465FDB88FA149F533FECFD82A72A41EF2859F6448ED848461A249F2FC7049A06F1A4ACECFA506AC28278A09F7CB320B9947BD45CF95C8CBE4C4317C1FE23
md5: 7FFE133DE5C409205F31CADC6AB63485 | sha1: D9F3B01CE372AFDC4B05D3E3540DC23499294C72 | sha256: 6EB028F6B185327A50E1831D6273F7A871B80FC6B8693E8FFD5F1B271BB04DA7 | sha512: 7D6AD02CAB97FEB4C6615C3B363E860BE46F18E8748032E2E0E4BCAFB9C5FA8024324EA2D467BDEAADA10674CA66C12308BC609B924BE9D9F5D160C30F6F9C1A
md5: B4529D18840E79B23A1E68E86B4D34DD | sha1: 4418D1EDFA8912530C41613DB9C4FA0501D1B233 | sha256: 6F9059DFC273C81281A98C6D9B10FFCF41B95759D8BBFB2A176B380DD5635512 | sha512: 70C728653748918A3CFA4CD003BD79536F5DD2DF5A936EDE1BF8915FD88C0CB8BD4D39A2D82A353BBCC616E3F12A97F52FA6155285DE39F2A1FC369A97C7D61A
md5: 0FE9A96A8D45D30E8680FBA6E11626CF | sha1: F60D2B21A25192A37485674AE7E80AF140F04C9F | sha256: C11DDF6657DFA0058BD329F7D0AFF52CFCBAC5F3FE5ADFFF35A5F96E6B5FF5E2 | sha512: 7133A39C8F914748BA3D34B68005A04A7AF8E8E5BC4E1A62195A4E2BCB962024BC570C84E5DEFD05B5C46C9D55A1AA5494B9006194BECAFDA339427E35559332
md5: 36F2B20808C67608B0C2DB42AC555F99 | sha1: 0A3B085AC0C5AA407A703FD2FE374DAAB35A9B0B | sha256: C9F889A1F421A0A19616EA6F79C4AA73BD68A5572092EFE284FF0E7B0B5F5796 | sha512: 539517B605D3215BAA75C7461F19911EFABB721E634891EC15087F56AB43263384EDF14156DDC10153A23DECC1827061AAA1215BB1161165E2FA97CBE540216D
md5: 5FABD0BD0404143A791452731D6FB3E6 | sha1: FCDCC178ADF5330FBB0E38E1B8F53B4ABEF7715B | sha256: 47A3BE735E53153C021251D322A9D4569850F572E3A840333B2D654F9926A409 | sha512: 38E9032DD1D62612BF8BFAE4972CB6C453736EC62070435B49891439DD3EEF4A5092F9DAB2C76CA3641FEFB55F2638E509CCEEE55A8B11DAC8D481B69C48F668
md5: 656D49EE5349833284C2A595132904F2 | sha1: 1E82BAFA94851DB69582B2E2F27E1FF3A5EC3248 | sha256: 4718BD05C3719A023794C90662FC2F4FD5D3CD4A37E757A62B811191DD3AF0B7 | sha512: DA8F5456ED0BD00D52E594840209C789AB0932F9BC2DC11C83CF99D4414471712B48A5A0D85B0DB914A9023C8BC061F018E1EA58F7E5B05054EC2641856549A6
md5: 307921181EB1C8C5F0B98C2E88E4EBD8 | sha1: 3F7A12B17876C295AC5A1F998C4C3D12E2DF4E1A | sha256: EA77ED1D5E72B33F79933FD9BCD7D9277171324093921E87F40C118B76E658E8 | sha512: 04EA89E242F584C27AAE81DD8917B4DF20EEAA92B44268B828B88057BD7571C22C7FD2A45FAB44D4C44781125841A582881C2E33F199CAC78FC9B4D23DDA3E34
md5: E498B3FF1F591B0B4FD1CBBFA7723ACD | sha1: F2CCF5C4FA57C5C3486D9646418C011FE14B959F | sha256: 71E360FCC401D580B778D57A9A5EE0C2FAA148ACFBBFA14C593B1914BCB63BA2 | sha512: 4A598621A6C4C0A8BCD8FD720EC423E1A28E972B53F128E99AB0A56ECC8C4A96FB4F6B20EA8C10B9B0B33F5C6A4C01BE83A32ACF8195E95B46DF7D3F11A8F89A
API
Struct
+---+
| |
+---+
+---------------| |
| +---+ dl_load(api_p, id);
| | | ___________________
| +---+ |
| +---------| | __________________ |
| | +---+ ||
| | | | ||
| | +---+ ||
| | +---| | ||
| | | +---+ \ || /
| | | \ /
v v v \/
+-------+-+---+-+---+-+------------------+--------------------+
| |x| |x| |x| |OOOOOOOOOOOOOOOOOOOO|
| |x| |x| |x| |OOOOOOOOOOOOOOOOOOOO|
| |x| |x| |x| |OOOOOOOOOOOOOOOOOOOO|
+-------+-+---+-+---+-+------------------+--------------------+
gawk Main Program Address Space Extension
register_ext_func({ "chdir", do_chdir, 1 });
+--------------------------------------------+
| |
V |
+-------+-+---+-+---+-+------------------+--------------+-+---+
| |x| |x| |x| |OOOOOOOOOOOOOO|X|OOO|
| |x| |x| |x| |OOOOOOOOOOOOOO|X|OOO|
| |x| |x| |x| |OOOOOOOOOOOOOO|X|OOO|
+-------+-+---+-+---+-+------------------+--------------+-+---+
gawk Main Program Address Space Extension
BEGIN {
chdir("/path") (*fnptr)(1);
}
+--------------------------------------------+
| |
| V
+-------+-+---+-+---+-+------------------+--------------+-+---+
| |x| |x| |x| |OOOOOOOOOOOOOO|X|OOO|
| |x| |x| |x| |OOOOOOOOOOOOOO|X|OOO|
| |x| |x| |x| |OOOOOOOOOOOOOO|X|OOO|
+-------+-+---+-+---+-+------------------+--------------+-+---+
gawk Main Program Address Space Extension
+---------+---------+--------+---------+
| 8 | "foo" | "" | 30 | Value
+---------+---------+--------+---------+
0 1 2 3 Index
_______
+------+ / \ +---------+
| Data | -----> < Program > -----> | Results |
+------+ \_______/ +---------+
______
+----------------+ / More \ No +----------+
| Initialization | -------> < Data > -------> | Clean Up |
+----------------+ ^ \ ? / +----------+
| +--+-+
| | Yes
| |
| V
| +---------+
+-----+ Process |
+---------+
The contents of this folder were automatically downloaded
and extracted from https://sourceforge.net/projects/ezwinports/files/gawk-5.0.1-w32-bin.zip/download on Thursday, 27-Jun-19 20:08:43 CDT.
Log in or click on link to see number of positives.
- libncurses5.dll (519948c61b71) - ## / 67
- libreadline6.dll (442cfad18c08) - ## / 69
- libgmp-10.dll (ca14a884fb1e) - ## / 64
- libmpfr-4.dll (4522fd804dda) - ## / 69
- gawk.5.0.1.nupkg (e064ecfc636f) - ## / 63
- awk.exe (769361067184) - ## / 71
- filefuncs.dll (9811d60f81cd) - ## / 71
- fnmatch.dll (082f1f7a2e2a) - ## / 70
- inplace.dll (ff2533b62a8e) - ## / 70
- intdiv.dll (cadc3686b674) - ## / 70
- ordchr.dll (6d5dc3cc6a0e) - ## / 72
- readdir.dll (6eb028f6b185) - ## / 71
- readdir_test.dll (6f9059dfc273) - ## / 72
- readfile.dll (c11ddf6657df) - ## / 70
- revoutput.dll (c9f889a1f421) - ## / 67
- revtwoway.dll (47a3be735e53) - ## / 70
- rwarray.dll (4718bd05c371) - ## / 70
- testext.dll (ea77ed1d5e72) - ## / 72
- time.dll (71e360fcc401) - ## / 70
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.
Add to Builder | Version | Downloads | Last Updated | Status |
---|---|---|---|---|
GNU awk 5.1.0 | 50843 | Monday, May 18, 2020 | Approved | |
GNU awk 5.0.1 | 3536 | Friday, June 28, 2019 | Approved | |
GNU awk 5.0.0 | 630 | Friday, April 26, 2019 | Approved | |
GNU awk 4.2.142 | 1429 | Sunday, October 21, 2018 | Approved | |
GNU awk 4.2.132 | 319 | Monday, September 24, 2018 | Approved |
This package has no dependencies.
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.