JUST-TOP-HITS(1)

πŸ“¦ version 24.0.20250523, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸŽ€ 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 πŸ™ˆ

  • N defaults to 1 if you don't specify it. no N? she assumes one. periodt.
  • comparisons are case-sensitive ngl β€” so Apple and apple are 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