Ignore:
Timestamp:
Feb 28, 2007 3:39:05 AM (17 years ago)
Author:
raasch
Message:

empty lines in configuration file are allowed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mrun_new

    r14 r21  
    33##!/home/DSRC/NC/tatuyama/pub/ksh   NEEDED ON NEC AT RIAM !!!!!!!!!!
    44
    5 # mrun - Plot-Shellskript         Version:  @(#)MRUN 1.8   10/02/07
     5# mrun - Plot-Shellskript         Version:  @(#)MRUN 1.8   28/02/07
    66
    77     # Prozedur zum Starten von Modellaeufen
     
    108108     #                     all hpmuk-related code removed
    109109     # 14/02/07 - Siggi  - dvrp support for neck added
     110     # 28/02/07 - Siggi  - empty lines in configuration file are accepted
    110111
    111112
     
    177178 read_from_config=""
    178179 restart_run=false
    179  return_addres=$(nslookup `hostname` 2>&1 | grep "Address:" | tail -1 | awk '{print $2}')
     180# return_addres=$(nslookup `hostname` 2>&1 | grep "Address:" | tail -1 | awk '{print $2}')
     181return_addres=130.75.105.2
    180182 if [[ $return_addres = 130.75.105.158 ]]
    181183 then
     
    571573
    572574          # INTERPRETATION DER ZEILE
    573        if [[ "$(echo $zeile | cut -c1)"  =  "#" ]]
     575       if [[ "$(echo $zeile)" = "" ]]
     576       then
     577             # LEERZEILE, KEINE AKTION
     578          continue
     579
     580       elif [[ "$(echo $zeile | cut -c1)"  =  "#" ]]
    574581       then
    575582
Note: See TracChangeset for help on using the changeset viewer.