[Top][All Lists]
[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.
- bug#8103: NUL terminated lines,
Bjartur Thorlacius <=
- bug#8103: NUL terminated lines, Jim Meyering, 2011/02/24
- bug#8103: NUL terminated lines, Bjartur Thorlacius, 2011/02/24
- bug#8103: NUL terminated lines, Jim Meyering, 2011/02/24
- bug#8103: NUL terminated lines, Bjartur Thorlacius, 2011/02/25
- bug#8103: NUL terminated lines, Andreas Schwab, 2011/02/25
- bug#8103: NUL terminated lines, Jim Meyering, 2011/02/25
- bug#8103: NUL terminated lines, Eric Blake, 2011/02/25
- bug#8103: NUL terminated lines, Alan Curry, 2011/02/24