3 ms·
> Shell functions and $1, instead of xargs -I {} > -n instead of -L (to avoid an ad hoc data language) Apparently GNU xargs is missing it, but BSD xargs has -
by masklinn 5y ago
> Shell functions and $1, instead of xargs -I {}
> -n instead of -L (to avoid an ad hoc data language)
Apparently GNU xargs is missing it, but BSD xargs has -J, which is a `-I` which works with `-n`: with `-I` each replstr gets replaced by one of the inputs, with `-J` the replstr gets replaced by the entire batch (as determined by `-n`).