Tim Peters <[EMAIL PROTECTED]> wrote:
 > FYI, find and xargs can work with weird filenames (as long as they
 > don't contain a \0) with these kind of options:
 > 
 > find . -print0 | xargs -0 command

UNIX filenames cannot contain '\0' bytes, so you're safe.

(There are only two characters disallowed in UNIX filenames:
the path separator '/' and zero-bytes '\0'.  Everything else
is allowed, including backspaces, newlines and all other
kinds of nasty control codes.  find -print0 | xargs -0 will
handle all of them fine.)

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"All that we see or seem is just a dream within a dream" (E. A. Poe)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to