help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] unique


From: Davide Brini
Subject: Re: [Help-bash] unique
Date: Sun, 24 Apr 2016 16:01:37 +0200

On Sun, 24 Apr 2016 15:57:24 +0200, Davide Brini <address@hidden> wrote:

> awk '
>   {
>     v1[$1][$2]++; v2[$1][$3]++

Make the above line just

     v1[$1][$2]; v2[$1][$3]

as we just use the keys and don't need to assign values.


-- 
D.



reply via email to

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