[Top][All Lists]

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

Re: feature request: zero-terminated lines for comm

From: John Cowan
Subject: Re: feature request: zero-terminated lines for comm
Date: Sun, 9 Sep 2007 20:49:30 -0400
User-agent: Mutt/1.5.13 (2006-08-11)

James Youngman scripsit:

> 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".

It's not quite so simple.  "find -print0" and "xargs -print0", its
counterpart, let people deal with pathnames that contain spaces
as well as newlines.  That's not a problem for "comm" or its

For the most part, text tools are based around newline delimitation.
There is no particular reason AFAIU to single out 'comm' here.  If
you want to retrofit zero-delimited records into all the coreutils
(and 'awk' and many others too) that's a different matter.

Not to perambulate                 John Cowan <address@hidden>
    the corridors                  http://www.ccil.org/~cowan
during the hours of repose
    in the boots of ascension.       --Sign in Austrian ski-resort hotel

reply via email to

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