PAIR-AT-A-TIME(1)
π PAIR-AT-A-TIME(1) π
okay bestie, so this is pair-at-a-time, a lil cutie from the NCBI Entrez Direct User's Manual and she is so much simpler than she sounds, i promise π«Ά
β¨ NAME β¨
pair-at-a-time β parse an input file into alphanumeric word pairs π
β¨ SYNOPSIS β¨
pair-at-a-time
no flags. no args. no options. nothing. she takes zero of your nonsense π (your input comes in through stdin, bestie, see below)
β¨ DESCRIPTION β¨
okay so here's the whole vibe πΈ
pair-at-a-time reads a text file from standard input, and then she does her lil four-step routine:
- she extracts all sequences of digits and English letters π
- she lowercases any capital letters (yes, ALL of them, she does not care how important they thought they were π)
- she prints all pairs of distinct adjacent terms in input order
- one pair per line. that's it. that's the whole job π
and literally that's the entire man page, she's a short queen, we love a low-maintenance icon β
ngl the "distinct" part is doing a lot of work there β adjacent terms that match each other don't get paired up, so don't come for her when duplicates don't show π
β¨ SEE ALSO β¨
her friends!! go say hi π¦
NCBI Β· 2025-05-26 β mwah, that's the version and the date, thanks for coming to my ted talk, go pair some words bestie πβ¨ππ¦πΈπ π«Ά
π¦ 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