awk
« Back to VersTracker
Description:
Text processing scripting language
Type: Formula  |  Latest Version: 20250116@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: text-processing scripting language unix data-manipulation
Install: brew install awk
About:
AWK is a domain-specific language designed for text processing and typically used as a data extraction or reporting tool. It operates by scanning input files line by line, splitting each line into fields, and performing user-specified actions on matching patterns. It is a standard feature on Unix and Linux systems, ideal for manipulating structured text data like CSVs and logs.
Key Features:
  • Pattern scanning and processing
  • Field-based text manipulation
  • Built-in variables and arithmetic
  • Record and field separators
Use Cases:
  • Parsing and reformatting log files
  • Extracting specific columns from CSV data
  • Data summarization and reporting
Alternatives:
  • sed – Stream editor for simple substitutions, less suited for complex field logic
  • grep – Pattern searching tool, lacks AWK's field processing capabilities
  • Perl – More powerful scripting language, heavier than AWK for simple tasks
Version History
Detected Version Rev Change Commit
Sep 13, 2025 1:31pm 0 VERSION_BUMP 9e0bcc1e
Jan 16, 2025 8:06pm 0 VERSION_BUMP f941b31f
Jan 16, 2025 7:49pm 0 VERSION_BUMP 28b5467b