xpipe

Split input and pipe each part to a command separately.

brewmacoslinux
Try with needOr install directly
Source

About

Split input and feed it into the given utility

Commands

xpipe

Examples

run command on each line of a file$ xpipe -d '\n' cat file.txt -- echo
process comma separated values individually$ xpipe -d ',' -- curl https://example.com
split and pass to multiple commands in parallel$ xpipe -d ' ' -- sh -c 'echo processing: $1' _
pipe multiple arguments to a script$ echo 'file1 file2 file3' | xpipe -d ' ' -- wc -l
split output by delimiter and batch process$ xpipe -d ':' -- grep -r -l {} .