isnum(1)

isnum1

Return code telling whether the input string is numerical

Usage

isnum string

Overview

isnum is a utility for identifying and classifying an input string. <B>isnum</B> returns an integer code depending on how it identifies the input number: 0: string is not any sort of number 1: String is an integer 2: String is a floating point number 3: String is a hh:mm:ss.ss time 4: String is a yyyy-mm-dd date

Releases

7 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8
  3. 9–13

Author

Jessica Mink, SAO ([email protected])

From wcstools 3.9.7-1.1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.