- Timestamp:
- 08/01/12 18:34:56 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/PACK_IPSL/DEM_utilities.sh
r1835 r1838 304 304 305 305 # On verifie que xyz est un nombre a 3 chiffres 306 if ! [[ "$verNCOnumber" =~ ^[0-9]\{3\}$ ]] 306 verNCOnumberOK=`echo $verNCOnumber | grep -e '^[0-9]\{3\}$' | wc -l ` 307 # if ! [[ "$verNCOnumber" =~ ^[0-9]\{3\}$ ]] 308 if [ "x${verNCOnumberOK}" == "x0" ] 307 309 then 308 310 # echo "verNCOnumber is not a number"
Note: See TracChangeset
for help on using the changeset viewer.