Write a command-line tool analyze logs that reads zero or more server log files, filters lines matching a…
Write a command-line tool analyze logs that reads zero or more server log files, filters lines matching a…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - The tool receives a mandatory date pattern as the first argument (e.g., 2024-03-15 , or…
The task
**Input contract:** - The tool receives a mandatory date pattern as the first argument (e.g., `2024-03-15`, or `2024-03` for month-level, or `2024` for year-level). - All subsequent arguments are file paths to log files. At least one file path may be given. If zero files are given, output an empty report. - Log files…
Part of ai-and/termgrade-environments.