rargs Command Examples

Execute a command for each line of standard input. Like xargs, but with pattern matching support. More information: https://github.com/lotabout/rargs.

{{command}} | rargs {{command}} {0}

{{command}} | rargs -e {{command}} {0}

{{command}} | rargs -p '(.*).bak mv {0} {1}

{{command}} | rargs -w {{max-procs}}

{{command}} | rargs -0 {{command}} {0}