Lasse Kliemann wrote: > 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. > > Or is such functionality already provided in a different way?
Probably in future, all coreutils filters should take a standard option to specify NUL as the item delimiter. In the meantime one can work around that, albeit with extra data copying, using something like: tr '\n' '\1' | comm | tr '\1' '\n' Pádraig. _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils