is_number -- Is string numeric

is_number(1) can be used in shell scripts to determine if a variable is all numeric.

If expr(1) exists on your system, expr(1) can be used to validate if a string us all numeric.

Compile Instructions are in the README File inside the tarball.

Downloads:

Source Code
Source Signature

Dependency

This is needed in order to use Test Script t-is_number.sh

back

Repository
back to my capsule

$Id: is_number.gmi,v 1.7 2025/07/23 15:22:50 jmccue Exp $