JUST-TOP-HITS(1)
π JUST-TOP-HITS π
okay so bestie, welcome to the NCBI Entrez Direct User's Manual, and today's main character is just-top-hits π
she's tiny, she's powerful, she's a filter, and honestly? she ate.
β¨ NAME β¨
just-top-hits β truncate a tab-delimited file π«Ά
πΈ SYNOPSIS πΈ
just-top-hits [N]
π DESCRIPTION π
So like. just-top-hits is a Unix-style filter π and what she does is truncate a tab-delimited file. She keeps only the lines whose first field has the first N distinct values β everything after that? gone, bye, not invited π
The file is primarily expected to be pre-sorted in some fashion by that first field. She's trusting you on that one, she's not gonna re-sort it for you, she's just vibing on the assumption that you already handled it π
Ndefaults to1if you don't specify it. noN? she assumes one. periodt.- comparisons are case-sensitive ngl β so
Appleandappleare two whole different girls to her, she does not conflate them β¨
π SEE ALSO π
and that's the whole page, bestie π¦ this absolute icon comes to you from NCBI, dated 2025-05-26 β go forth, truncate responsibly, and remember: distinct first fields only, no cap πβ¨π
π¦ where this page comes from
- debian trixie: ncbi-entrez-direct 24.0.20250523+dfsg-1+b1 Β· PD
- ubuntu questing: ncbi-entrez-direct 24.0.20250523+dfsg-1
- ubuntu resolute: ncbi-entrez-direct 24.0.20250523+dfsg-2 Β· PD
- ubuntu stonking: ncbi-entrez-direct 24.0.20250523+dfsg-2 Β· PD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms