[Toybox] Add new toy - uniq

Georgi Chorbadzhiyski gf at unixsol.org
Wed Mar 14 23:04:59 PDT 2012


On 15.3.2012 г. 08:04, Georgi Chorbadzhiyski wrote:
> On 15.3.2012 г. 05:02, Rob Landley wrote:
>> On 03/14/2012 10:45 AM, Georgi Chorbadzhiyski wrote:
>>> Attached is a new toy - uniq. All parameters of uniq from coreutils are
>>> implemented except -D.
>>
>> This looks reasonably standalone so I'll grab it out of order.
>>
>> I'm implementing
>> http://pubs.opengroup.org/onlinepubs/9699919799/utilities/uniq.html and
>> then only adding the stuff that's actually used. I'm pretty happy not
>> having -D if nothing breaks without it.
>>
>> Testing it in the aboriginal build now...
>
> The additional flags are -w and -z and their implementation is
> basically free. -z supports comes from using getdelim, -w is one
> branch and using strncmp, strncasecmp instead of strcmp/strcasecmp.

And -i actually.

-- 
Georgi Chorbadzhiyski
http://georgi.unixsol.org/

 1331791499.0


More information about the Toybox mailing list