Re: [coreutils] [PATCH] uniq: don't continue field processing after end of line

2011-01-17 Thread Pádraig Brady
On 16/01/11 23:53, Sami Kerola wrote: Hi, I notice uniq -f 'insane_large_number' will make process to be busy long time without good reason. Attached patch should fix this symptom. I'd slightly amend that to the following, to match the other limit checks in the function. diff --git

Re: [coreutils] [PATCH] doc: show how to shred using a single zero-writing pass

2011-01-17 Thread Pádraig Brady
On 17/01/11 10:36, Jim Meyering wrote: From 7dc6335653afcdad9a3ffa327877571734644285 Mon Sep 17 00:00:00 2001 From: Jim Meyering meyer...@redhat.com Date: Mon, 17 Jan 2011 11:32:35 +0100 Subject: [PATCH] doc: show how to shred using a single zero-writing pass * doc/coreutils.texi (shred

Re: [coreutils] [PATCH] uniq: don't continue field processing after end of line

2011-01-17 Thread Jim Meyering
Pádraig Brady wrote: On 16/01/11 23:53, Sami Kerola wrote: Hi, I notice uniq -f 'insane_large_number' will make process to be busy long time without good reason. Attached patch should fix this symptom. I'd slightly amend that to the following, to match the other limit checks in the

[coreutils] Re: [PATCH] uniq: don't continue field processing after end of line

2011-01-17 Thread Andreas Schwab
Jim Meyering jim-oxw1nkzkivjk1umjsbk...@public.gmane.org writes: +timeout 1 uniq -f 100 in || fail=1 The Cray-3 is so fast it can execute an infinite loop in under 2 seconds! Andreas. :-) -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3