Andrew's Digital Garden

xargs

In general, xargs is used to convert stdin to arguments for a second command. Usually the second command will expect one or more newline/space separated results.

prog | xargs utility

e.g. ls | xargs echo

[[shell]]

xargs