DISCLAIMER. English language used here only for compatibility (ASCII only), so any suggestions about my bad grammar (and not only it) will be greatly appreciated.

Показаны сообщения с ярлыком xargs. Показать все сообщения
Показаны сообщения с ярлыком xargs. Показать все сообщения

вторник, 22 ноября 2011 г.

xargs, arguments separator and escapes.

xargs uses blanks (not only newlines!) to split input line into arguments.
Though, there is some options, which turns this defailt off implicitly or
explicitly.

Here is summary:

    +--------+--------------------+---------------------+
    | Option | Argument separator | Escapes             |
    +--------+--------------------+---------------------+
    | -L     | blank              | Interpreted (work)  |
    +--------+--------------------+---------------------+
    | -d     | user defined       | Literal (not work)  | 
    +--------+--------------------+---------------------+
    | -I     | newline            | Interpreted (work)  |
    +--------+--------------------+---------------------+