Skip to Content
gnux

-L, --max-input-lines

Use at most MAX-LINES non-blank input lines per command line.

An option of xargsx.

Usage

xargsx -L MAX-LINES [COMMAND [INITIAL-ARGUMENT]...]
xargsx --max-input-lines=MAX-LINES [COMMAND [INITIAL-ARGUMENT]...]

Details

ShortLongValueDefaultMeaning
-L--max-input-linesMAX-LINESuse at most MAX-LINES non-blank input lines per command line

Examples

Use one input line per command, as -L counts them

printfx 'a b\nc d\n' | xargsx -L 1 echox line:

Help in the terminal

gnux help xargsx --max-input-lines

On this page