;;; ;;; modify atlas.gw.def to change level (given zelevel) ;;; save that in gw.def ;;; ;;; INPUT : cmd ;;; OUTPUT : cmd modified print, '-----------------------------------------------------' print, '----------------LEVEL '+string(zelevel,'(I0)')+'-----------------------------' print, '-----------------------------------------------------' ;; change name cmd = cmd + " -e 's/atlas/atlas_"+string(zelevel,'(I0)')+"/g'" ;; change level cmd = cmd + " -e 's/level=/level="+string(zelevel,'(I0)')+" ;/g'" ;; do that otherwise level will not be changed actually cmd = cmd + " -e 's/useidlfile/;useidlfile/g'"