HF RL Explorer

Task: Read a Space-Delimited String into an Array in Bash

Task: Read a Space-Delimited String into an Array in Bash: a task in Terminal-Lego-15k (Harbor dataset). Write a Bash script that correctly splits a space-delimited string into an array, where each element of the array corresponds to one token from the original string.

The task

Write a Bash script that correctly splits a space-delimited string into an array, where each element of the array corresponds to one token from the original string.

Part of PrimeIntellect/Terminal-Lego-15k.