Search Results

Search: Posts Made By: ketkee1985
7,028
Posted By ketkee1985
Integer expression expected: with regular expression
CA_RELEASE has a value of 6. I need to check if that this is a numeric value. if not error.

source $CA_VERSION_DATA
if [ $CA_RELEASE -ne [0-9]* ]
then
echo "CA_RELESE $CA_RELEASE is invalid"...
17,209
Posted By ketkee1985
facing error
CA_RELEASE has a value of 6. I need to find that this is a numeric value. if not error.

source $CA_VERSION_DATA
if [ $CA_RELEASE -ne [0-9]* ]
then
logger -p $DESGNLOG...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 08:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy