Task: Execute Command on All Files in a Directory
Task: Execute Command on All Files in a Directory: a task in Terminal-Lego-15k (Harbor dataset). Write a bash script that iterates through all files in a directory, executes a specified command on each file, and concatenates all the output into a single results file.
The task
Write a bash script that iterates through all files in a directory, executes a specified command on each file, and concatenates all the output into a single results file.
Part of PrimeIntellect/Terminal-Lego-15k.