[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

how to check given value in a shell variable is number or string





  can any one tell how to check whethter stored value in a shell variable is
number or string.


 for example : to check emptynull string we use if [ -z variable ] .......

 regards
 J.S.Murthy




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []