Changeset 5142
- Timestamp:
- 2015-03-11T13:22:02+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/CONFIG/makenemo
r5092 r5142 200 200 ;; 201 201 add_key) 202 # Checking void argument 203 [ ! -z $2] && { list_add_key=$2; export ${list_add_key}; }202 # Checking if argument has anything other than whitespace 203 [[ ! "$2" =~ ^\ +$ ]] && { list_add_key=$2; export ${list_add_key}; } 204 204 shift 205 205 ;; 206 206 del_key) 207 # Checking void argument 208 [ ! -z $2] && { list_del_key=$2; export ${list_del_key}; }207 # Checking if argument has anything other than whitespace 208 [[ ! "$2" =~ ^\ +$ ]] && { list_del_key=$2; export ${list_del_key}; } 209 209 shift 210 210 ;;
Note: See TracChangeset
for help on using the changeset viewer.