HF RL Explorer

Task: Negate a Regular Expression Test in Bash

Task: Negate a Regular Expression Test in Bash: a task in Terminal-Lego-15k (Harbor dataset). In Bash scripting, you often need to check if a pattern does NOT match a string using regular expressions. This task requires you to write a Bash script that conditionally adds paths to the PATH variable…

The task

In Bash scripting, you often need to check if a pattern does NOT match a string using regular expressions. This task requires you to write a Bash script that conditionally adds paths to the PATH variable, but only if those paths are not already present.

Part of PrimeIntellect/Terminal-Lego-15k.