[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #29698] Correct and clarify documentation of xargs -d option

From: Jon Jensen
Subject: [bug #29698] Correct and clarify documentation of xargs -d option
Date: Tue, 17 Aug 2010 16:17:30 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.25 Safari/534.3

Follow-up Comment #3, bug #29698 (project findutils):

I see what you're saying now about the input vs. the -d argument. The way the
help reads, I thought it was saying there's nothing special about a backslash
in the -d argument, which isn't true, because of C backslash escapes.

So I don't think the help is wrong, but it was unclear to me. I would find it
clearer if it were reordered to group all notes about the specified character
together, followed by all notes about the input text, followed by other

Input items are terminated by the specified character. The specified
delimiter may be a single character, a C-style character escape such as n, or
an octal or hexadecimal escape code. Multibyte characters are not supported.
Any extra characters beyond the first one are ignored. Note that you likely
need to quote backslashes for your shell, for example n as 'n'. 

Every character in the input is taken literally; quotes and backslash are not
special there.

Disables the end-of-file string, which is treated like any other argument. 
This can be used when the input consists of simply newline-separated items,
although it is almost always better to design your program to use --null where
this is possible.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]