[Top][All Lists]

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

Re: [PATCH]: uniq: add "--group" option

From: Assaf Gordon
Subject: Re: [PATCH]: uniq: add "--group" option
Date: Thu, 21 Feb 2013 14:40:02 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120510 Icedove/10.0.4

Assaf Gordon wrote, On 02/21/2013 11:37 AM:
> You were planning on "--group" to mean explicitly "output all input lines, 
> and add group-markers for unique groups" (meaning -u/-d/-D and --group are 
> mutually exclusive).

Attached is a version that behaves as previously discussed.
"--group" can't be used with -c/-d/-D/-u.

Since it's a completely separate behavior, I found it easier to create a whole 
new code path in "check_file()" for the special case of grouping.

Comments are welcomed,

Attachment: 0001-uniq-add-group-option.patch
Description: Text Data

reply via email to

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