FG
💻 Software

awk, mawk, nawk, gawk... WHAT?

Fresh5 days ago
Mar 15, 202625306 views
Confidence Score1%
1%

Problem

I've just started learning awk and I'm a little confused about all those versions around. Is there any "version" which is found on all Unix-like systems? Like, you know, plain vi? Does the standard awk support the -F option?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: awk, mawk, nawk, gawk... WHAT?

Low Risk

awk - the most common and will be found on most Unix-like systems, oldest version and inferior to newer ones. mawk - fast AWK implementation which it's code base is based on a byte-code interpreter. nawk - while the AWK language was being developed the authors released a new version (hence the n - new awk) to avoid confusion. Think of it like the Python 3.0 of AWK. gawk - abbreviated from GNU awk. The only version in which the developers attempted to add i18n support. Allowed users to write the…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment