Example of xargs' -x option in action

Posted by Ole Tange on Stack Overflow See other posts from Stack Overflow or by Ole Tange
Published on 2010-06-12T01:22:37Z Indexed on 2010/06/12 1:33 UTC
Read the original article Hit count: 190

Filed under:
|

GNU xargs has option '-x'. The man page says:

-x Exit if the size (see the -s option) is exceeded.

But xargs seems to not care if -x is set or not. I have been unable to make an example in which the -x has any effect at all.

Please provide two examples in which the only difference is an added -x and that produce different output.

© Stack Overflow or respective owner

Related posts about shell

Related posts about xargs