[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-recutils] recsel --uniq not working
From: |
Jose E. Marchesi |
Subject: |
Re: [bug-recutils] recsel --uniq not working |
Date: |
Mon, 12 Oct 2015 15:32:32 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Hi Leo.
I am having trouble getting `recsel --uniq` to work. What follows is
some test data that can be used to reproduce the problem.
>From the recutils manual:
`-U'
`--uniq'
Remove duplicated fields in the output records. Fields are
duplicated if they have the same field name and the same value.
i.e. recsel --uniq doesn't remove duplicated records, but duplicated
fields. In order to achieve what you want, try to use --group-by
model_number:
recsel -t machine -p model_number -G model_number data.rec
Salud!