Changeset 398
- Timestamp:
- 12/08/10 15:17:24 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_config/libIGCM_config.ksh
r394 r398 770 770 IGCM_sys_Cd ${SUBMIT_DIR} 771 771 # Keep only the 5 latest ${Script_Output_Prefix}_${config_UserChoices_JobName} 772 ScriptTot=$( ls ${Script_Output_Prefix}_${config_UserChoices_JobName}.?????? > /dev/null 2>&1| wc -l )772 ScriptTot=$( ls ${Script_Output_Prefix}_${config_UserChoices_JobName}.?????? 2>/dev/null | wc -l ) 773 773 [ ${ScriptTot} -gt 5 ] && rm -f $( ls ${Script_Output_Prefix}_${config_UserChoices_JobName}.?????? | head -$(( ${ScriptTot} - 5 )) ) 774 774 # Submit next job and come back
Note: See TracChangeset
for help on using the changeset viewer.