Usage:

# all args from stdin are supplied to appname
xargs appname [initialappargs]
# only 2 args are supplied to appname, then appname is ran again and next 2 args are supplied, etc
xargs -n2 appname [initialappargs]

#example: describe every installed app with brew
brew leaves | xargs -n1 brew desc
← Back to Articles