HF RL Explorer

Task: Test if a Variable is a Number in Bash

Task: Test if a Variable is a Number in Bash: a task in Terminal-Lego-15k (Harbor dataset). Create a Bash script that tests whether an argument passed to it is a valid number. The script should be able to distinguish between numeric and non-numeric input values.

The task

Create a Bash script that tests whether an argument passed to it is a valid number. The script should be able to distinguish between numeric and non-numeric input values.

Part of PrimeIntellect/Terminal-Lego-15k.