HF RL Explorer

Write a command-line tool /usr/local/bin/depsort that reads a dependency specification from stdin and…

Write a command-line tool /usr/local/bin/depsort that reads a dependency specification from stdin and…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format (stdin): - Each line is either blank (empty or whitespace-only), a comment (first non-whitespace…

The task

**Input format (stdin):** - Each line is either blank (empty or whitespace-only), a comment (first non-whitespace character is `#`), or a dependency declaration. - A dependency declaration has the form: `ITEM: DEP1 DEP2 ... DEPN` where fields are separated by one or more whitespace characters (spaces or tabs). -…

Part of ai-and/termgrade-environments.