HF RL Explorer

Task: List Files in a Directory with Whitespace-Safe Handling

Task: List Files in a Directory with Whitespace-Safe Handling: a task in Terminal-Lego-15k (Harbor dataset). Create a shell script that correctly lists all files in a specified directory, properly handling filenames that contain whitespace characters. The script should work with relative paths…

The task

Create a shell script that correctly lists all files in a specified directory, properly handling filenames that contain whitespace characters. The script should work with relative paths without needing to change the current working directory.

Part of PrimeIntellect/Terminal-Lego-15k.