Implement a command-line tool /root/semver-range that resolves a semantic version range expression against a…
Implement a command-line tool /root/semver-range that resolves a semantic version range expression against a…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Goal: Given a range expression and a sorted list of available versions (one per line), output the single…
The task
**Goal:** Given a range expression and a sorted list of available versions (one per line), output the **single highest** available version that satisfies the range, followed by a newline. If no version satisfies the range, output nothing (empty output, exit code 0).
Part of ai-and/termgrade-environments.