| { | |
| "description": "Get the name of most recent file in /usr. (not recursively)", | |
| "create": { | |
| "local": "default", | |
| "init": "i=1; while [ $i -lt 100 ]; do echo \"Content: $((i * 2 % 3))\" > \"/usr/$(( (i+50)%100 )).log\"; i=$((i+1)); done" | |
| }, | |
| "evaluation": { | |
| "check": [ | |
| null, | |
| { | |
| "language": "python", | |
| "file": "check/string-match.py" | |
| } | |
| ], | |
| "example": { | |
| "code": "ls -lt /usr | head -n 2 | tail -n 1 | awk '{print $9}'" | |
| } | |
| }, | |
| "labels": ["file"] | |
| } | |