PRINT-MISSING-SUBRANGES(1)

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

okay so bestie, welcome to the NCBI Entrez Direct User's Manual β€” yes we're in the big leagues now, and this little cutie is about to find the holes in your number list. πŸ•³οΈβœ¨


✨ NAME ✨

print-missing-subranges β€” find gaps in a sorted list of numbers πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

print-missing-subranges [ file ...]

🌸 DESCRIPTION 🌸

so here's the tea, bestie: print-missing-subranges reads a pre-sorted list numbers β€” one per line, okay, one per line, don't come at me β€” and then it prints to standard output a list of subranges that do not appear. it's giving "where my numbers at" energy. 😭

the format is min-max, one per line. periodt. πŸ’…

and ngl, when a gap contains only one number? the line it spits out has identical min and max values. like 7-7. iconic behavior, honestly. πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • file ... β€” the File(s) to read. if you don't hand it anything, it just vibes with standard input by default. 🫢 and listen: multiple files are implicitly concatenated, and they're expected to yield a single sequence. so don't be messy about it. 🌈

⚠️ real talk: that input needs to be pre-sorted before it gets here. this is not the tool that sorts for you. it's the tool that notices what's missing after you've sorted. iykyk. πŸ’€

and that's the whole vibe check, bestie β€” go find those missing numbers, you absolute main character. πŸ¦‹β­πŸ’œ

mwah πŸ’‹ β€” from the NCBI crew, dated 2025-05-26, out here doing the lord's work in the Entrez Direct User's Manual. πŸŒΈβœ¨πŸŽ€

πŸ“¦ where this page comes from