Command-line tool
rargs
brew/rargs
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Util like xargs + awk with pattern matching support
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install rargs
Linux
brew install rargs
Execute a command for every line of input, just like `xargs` (`{0}` indicates where to substitute in the text)
command | rargs command {0}
Simulate which commands would be run without executing them
command | rargs -e command {0}
Remove the `.bak` extension from every file in a list
command | rargs -p '(.*).bak mv {0} {1}
Related command-line tools
- git-xargs
CLI for making updates across multiple Github repositories with a single command - ack
Search tool like grep, but optimized for programmers - findutils
Collection of GNU find, xargs, and locate - uutils-findutils
Cross-platform Rust rewrite of the GNU findutils - ripgrep
Search tool like grep and The Silver Searcher rust cli search ripgrep command-line grep regex command-line-tool… - cmd_lib
Common rust commandline macros and utils, to write shell script like tasks easily - parallel
Shell command parallelization utility - yara-x
Tool to do pattern matching for malware research
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents