[Top][All Lists]

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

Re: feature request: zero-terminated lines for comm

From: Lasse Kliemann
Subject: Re: feature request: zero-terminated lines for comm
Date: Sun, 9 Sep 2007 20:23:10 +0200

* John Cowan writes:
> Lasse Kliemann scripsit:
> > How complicated it would be to add a `-z' or `-0' switch to `comm' in order 
> > to allow zero-terminated "lines"? The `sort' command, for example, allows 
> > this, and this is very useful when dealing with filenames. 
> Not complicated, but it needs better justification, I think.  
> Are you really worried about filenames that contain newlines?

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, ...).

Attachment: pgpSlHjlI4rCy.pgp
Description: PGP signature

reply via email to

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