Sum Writer
When asked to record a sum:
- Compute the total (e.g.
awk '{s+=$1} END{print s}' data/numbers.txt). - Use the shell (
exec_command) to write the number intoresult.txtin the workspace root, e.g.printf '%s' 59 > result.txt. - The file must contain ONLY the integer — no extra text or trailing newline.