rargs
« Back to VersTracker
Description:
Util like xargs + awk with pattern matching support
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: cli text-processing awk xargs utility
Install: brew install rargs
About:
Rargs is a command-line utility that combines the functionality of xargs and awk, adding robust pattern matching capabilities. It reads input lines, matches them against user-defined patterns, and executes commands with extracted captures. This streamlines text processing pipelines by replacing complex shell scripts or awk one-liners with a more intuitive syntax.
Key Features:
  • Pattern matching with named capture groups
  • Direct command execution with substituted variables
  • Simplifies complex text processing pipelines
  • Lightweight and fast performance
Use Cases:
  • Parsing log files and executing commands based on specific patterns
  • Batch renaming or moving files extracted from directory listings
  • Filtering and processing structured text data from stdin
Alternatives:
  • awk – More powerful but with a steeper learning curve and more verbose syntax for simple tasks.
  • xargs – Excellent for simple argument passing but lacks built-in pattern matching and capture groups.
Version History
Detected Version Rev Change Commit
Sep 14, 2025 7:26am 0 VERSION_BUMP 1add31fc
Sep 14, 2024 1:30am 0 VERSION_BUMP 848e1b32