bug-coreutils
[Top][All Lists]
Advanced

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

bug#8103: NUL terminated lines


From: Bjartur Thorlacius
Subject: bug#8103: NUL terminated lines
Date: Wed, 23 Feb 2011 23:25:14 +0000

> Maybe we should modify tac to add the -z option.  Would you care to write a 
> patch?
It would be redundant, as tac -s $'\0' is equivalent.

If you want to switch between newline characters dynamically (a bad
idea, IMO) you could edit libc/stdio-common/getline.c to pass read in
the newline character from an environment variable.
More preferably, you could rewrite getline to read in self-delimeted lines.





reply via email to

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