Re: feature request: zero-terminated lines for comm
From:
James Youngman
Subject:
Re: feature request: zero-terminated lines for comm
Date:
Sun, 9 Sep 2007 22:04:11 +0100
On 9/9/07, John Cowan <address@hidden> wrote:
> Lasse Kliemann scripsit:
>
> > Yes. Most Unix filesystems allow filenames that contain newlines. Hence I
> > have to expect them when I process files that have not been created directly
> > by me (but by a user, by unpacking a tar file from an external source, by
> > some (stupid) software, ...).
>
> Well, I can't stop you from worrying about it, but delicately I suggest
> that such concern is excessive.
If such concern is excessive, it would not have been necessary for
POSIX to invent "find ... -exec ... {} +". Nor for GNU to invent
"find -print0" or "sort -z".
James.