You must write a command-line program that reads a dependency specification from stdin and outputs a valid…
You must write a command-line program that reads a dependency specification from stdin and outputs a valid…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format (UTF-8 text, read from stdin): - Each line is either empty (skip it) or a dependency…
The task
**Input format** (UTF-8 text, read from stdin): - Each line is either empty (skip it) or a dependency declaration of the form: `TASK: DEP1, DEP2, ..., DEPN` where TASK and each DEP are non-empty strings containing only printable ASCII characters (codes 32–126) except comma and colon. A declaration means "TASK depends…
Part of ai-and/termgrade-environments.