carta
just-top-hits(1)

just-top-hits1

Truncate a tab-delimited file

Usage

just-top-hits [N]

Overview

just-top-hits is a Unix-style filter that truncates a tab-delimited file (primarily) pre-sorted in some fashion by its first field, keeping only those lines with the first N distinct values of that field. N defaults to 1 if not specified, and comparisons are case-sensitive.

From ncbi-entrez-direct 24.0.20250523+dfsg-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.