As a Linux system administrator, your task is as follows: Objective: Recursively search…
- User
As a Linux system administrator, your task is as follows:
Objective:
Recursively search through the directory/root/docs/repo_example/for files that meet either of these criteria:- End with
.en.mdx(e.g.,example.en.mdx) - End with
.mdxbut do not match the pattern*.[two_letters].mdx(i.e., any.mdxfiles that do not end with a two-letter language code before.mdx)
Copy all matching files into the directory
/root/docs/results/.Filename Conflict Rules:
- It is possible that multiple files with the same name exist in different subdirectories.
- If two files with the same name are not identical, add the immediate parent directory name as a prefix to the filename when copying to the results directory.
- End with
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.