show count of duplicate occurrence in group (per result line)

Discussion related to "Everything" 1.5.
Post Reply
rgbigel
Posts: 50
Joined: Sun Apr 17, 2011 4:00 pm

show count of duplicate occurrence in group (per result line)

Post by rgbigel »

Is there a way to show count of duplicate occurrence in group (per result line), in other words, the position of the line in the group, starting at 1.

I am looking for something like:

sort:dm dupe-min:2 dupe:crc-32 addcolumn:c c:$pos-in-group

I would then use this to enable a temporary result omission of all lines where c<2, so it would allow to select all lines with pos-in-group>=2 and play with that.... like to delete excessive backup copies etc.

PS. I have not been able to addcolum: for more than 1 column at a time.

e.g. addcolumn:a a:=$crc-32: addcolumn:c c:$content:

WAD or Error?
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: show count of duplicate occurrence in group (per result line)

Post by void »

There's no pos in group option.

Grouping is done after the search.


PS. I have not been able to addcolum: for more than 1 column at a time.
Please try:

addcolumn:a a:=$crc-32: addcolumn:c c:=$content:


-please make sure there's an equal (=) after your column. (c:=)
Post Reply