DOKK / manpages / debian 13 / ncbi-entrez-direct / print-missing-subranges.1.en
PRINT-MISSING-SUBRANGES(1) NCBI Entrez Direct User's Manual PRINT-MISSING-SUBRANGES(1)

print-missing-subranges - find gaps in a sorted list of numbers

print-missing-subranges [ file ...]

print-missing-subranges reads a pre-sorted list numbers (one per line) and prints to standard output a list of subranges that do not appear, in the format min-max, one per line. Gaps containing only one number yield lines with identical min and max values.

File(s) to read, standard input by default. Multiple files are implicitly concatenated and expected to yield a single sequence.
2025-05-26 NCBI