Reads items from the standard input, delimited by space or newline, and executes the command for each data (argument)
Allows to perform operations similar to a for loop
When using -I
the string to be replace has to be specified
Flags
-i
, -I
, --replace
: Replace Token
-d
: Delimiter
-n 2
: Use 2 input tokens per execution
-P 2
: Run 2 processes at a time
CAUTION
--replace
,-n
and-L
(Max Line) commands are mutually exclusive. The option that is used last in the pipeline will only be processed