[Dovecot] 1.0.rc10 released

Geert Hendrickx ghen at telenet.be
Wed Oct 18 10:01:50 UTC 2006


On Tue, Oct 17, 2006 at 01:06:38PM -0500, Noel Jones wrote:
> On 10/17/06, Geert Hendrickx <ghen at telenet.be> wrote:
> >On *BSD you can also use find -X which properly quotes the results.
> 
> Nope, find -X skips files with strange characters. find -print0 |
> xargs -0 is the proper solution.
> $ man find

-X	The -X option is a modification to permit find to be safely used
	in conjunction with xargs(1).  If a file name contains any of the
	delimiting characters used by xargs, a diagnostic message is dis-
	played on standard error, and the file is skipped.  The delimit-
	ing characters include single (``''') and double (``"'') quotes,
	backslash (``\''), space, tab and newline characters.  Alterna-
	tively, the -print0 or -printx primaries can be used to format
	the output in a way that xargs can accept.

	Geert


More information about the dovecot mailing list