xargs — Construct Argument Lists and Invoke Command

Synopsis

/usr/bin/xargs [-t][-p][-e[eofstr]][-E eofstr][-I replstr] 
  [-i[replstr]][-L number][-l[number]][-n number [-x]] 
  [-s size][command [argument...]] 

Description

The xargs command is a shell programming tool that enables you to use the output of one command to define the arguments for another. The xargs command constructs a command line consisting of the specified command and argument operands followed by as many arguments read in sequence from standard input as fit in the length and number constraints specified by the options. The xargs command then invokes the constructed command line and waits for its completion. This sequence is repeated until an end-of-file condition is detected ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.