Date: Tue, 25 Jan 2005 11:51:51 -0600 From: Scot Hetzel <swhetzel@gmail.com> To: freebsd-current@freebsd.org Subject: uniq truncates lines > 2048 bytes Message-ID: <790a9fff05012509511b64e3ad@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I noticed that if a file has lines > 2048 bytes, uniq will truncate the line to LINE_MAX (2048 bytes). An easy way to test this is to do the following: cd /usr/ports/accessibility/gnomemag make fetch-list > test.list make fetch-list >> test.list uniq test.list > test2.list test2.list should be half the size of test.list, but it is 2048 bytes. I have come up with a patch to uniq that fixes this problem. http://www.freebsd.org/cgi/query-pr.cgi?pr=76578
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff05012509511b64e3ad>