[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sed bug?
From: |
Stepan Kasal |
Subject: |
Re: sed bug? |
Date: |
Tue, 14 Oct 2003 09:33:41 +0200 |
User-agent: |
Mutt/1.2.5.1i |
Hello,
On Tue, Oct 14, 2003 at 06:55:52PM +1300, Brent Wood wrote:
> cat tmp.txt | sed 's/NaN/0.0/g' > $OUTFILE
>
> This worked until the input file had some unusually long lines (about
> 8000+ characters) when sed seems to truncate the output lines, which lose
> the line feed at the end so I get lines with 250,000+ chars.
I beleive GNU sed doesn't have any such limitation, at least versions
3.02, 3.02.80, 4.* which I have met.
Which version of sed are you using? What does "sed --version" answer?
If this doesn't give a you a version number, you are probably using
a non-GNU version of sed. You can complain at your vendor.
If you are not using GNU sed, you are welcome to grab the source code
from ftp://ftp.gnu.org/gnu/sed/sed-4.0.7.tar.gz
HTH,
Stepan Kasal
- sed bug?, Brent Wood, 2003/10/14
- Re: sed bug?,
Stepan Kasal <=