Implement a command-line tool rangeq that reads a list of integer intervals from a file and supports two…
Implement a command-line tool rangeq that reads a list of integer intervals from a file and supports two…: a task in termgrade-bandcentral-gemma4-31b-bash: TermGrade Band-Central: the 151-task selection and its splits (Harbor dataset). Input file format: One interval per line as start,end where…
The task
**Input file format:** One interval per line as `start,end` where `start` and `end` are integers and `start <= end`. Lines can have leading/trailing whitespace. Empty lines must be ignored. Lines starting with `#` are comments and must be ignored. The file may contain duplicate intervals; each duplicate must be…