Write a command-line tool /app/run.sh that reads a template file from /data/template.txt and a data file…
Write a command-line tool /app/run.sh that reads a template file from /data/template.txt and a data file…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Template syntax: - Placeholders are delimited by {{ and }} . Whitespace around the placeholder name is…
The task
**Template syntax:** - Placeholders are delimited by `{{` and `}}`. Whitespace around the placeholder name is allowed: `{{ name }}` is equivalent to `{{name}}`. - Each placeholder name is a key path using dot notation (e.g., `user.name`, `items.0.title`). - If a placeholder cannot be resolved, the tool must write…
Part of ai-and/termgrade-environments.