HF RL Explorer

Shell Script: Check if String is Neither Empty Nor Space

Shell Script: Check if String is Neither Empty Nor Space: a task in Terminal-Lego-15k (Harbor dataset). You need to fix a shell script that checks whether a string is neither empty nor contains only whitespace characters. The current implementation has a bug that incorrectly identifies strings…

The task

You need to fix a shell script that checks whether a string is neither empty nor contains only whitespace characters. The current implementation has a bug that incorrectly identifies strings containing only spaces as valid non-empty strings.

Part of PrimeIntellect/Terminal-Lego-15k.