Changeset 44


Ignore:
Timestamp:
04/13/10 15:26:07 (14 years ago)
Author:
pinsard
Message:

indent shell scripts

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/adm/extract_rst.sh

    r43 r44  
    171171system=$(uname) 
    172172case "${system}" in 
    173  AIX|IRIX64) 
    174   echo " www : no specific posix checking" 
    175  ;; 
    176  *) 
    177   set -o posix 
    178  ;; 
     173   AIX|IRIX64) 
     174      echo " www : no specific posix checking" 
     175   ;; 
     176   *) 
     177      set -o posix 
     178   ;; 
    179179esac 
    180180# 
     
    189189if [ ${#} -lt ${minargcount} ] 
    190190then 
    191  echo "eee : not enought arguments" 
    192  echo "${usage}" 
    193  exit 1 
     191   echo "eee : not enought arguments" 
     192   echo "${usage}" 
     193   exit 1 
    194194fi 
    195195# 
     
    199199while [ ! -z "${1}" ] 
    200200do 
    201  case ${1} in 
    202  -i) 
    203   filein=${2} 
    204   shift 
    205  ;; 
    206  -o) 
    207   fileout=${2} 
    208   shift 
    209  ;; 
    210  -l) 
    211   language=${2} 
    212   shift 
    213  ;; 
    214  -h)  
    215   echo "${usage}" 
    216   exit 1 
    217  ;; 
    218  *) 
    219   echo "eee : unknown option ${1}" 
    220   echo "${usage}" 
    221   exit 1 
    222  ;; 
    223  esac 
    224  shift # next flag 
    225  done 
     201   case ${1} in 
     202      -i) 
     203         filein=${2} 
     204         shift 
     205      ;; 
     206      -o) 
     207         fileout=${2} 
     208         shift 
     209      ;; 
     210      -l) 
     211         language=${2} 
     212         shift 
     213      ;; 
     214      -h)  
     215         echo "${usage}" 
     216         exit 1 
     217      ;; 
     218      *) 
     219        echo "eee : unknown option ${1}" 
     220        echo "${usage}" 
     221        exit 1 
     222      ;; 
     223   esac 
     224   shift # next flag 
     225done 
    226226# 
    227227set -u 
     
    230230# 
    231231case "${language}" in 
    232 fortran) 
    233 awkblockstart="^C\+$" 
    234 awkblockend="^C-$" 
    235 sedblockstart="^C+$" 
    236 sedblockend="^C-$" 
    237 comment="^C" 
    238 ;; 
    239 F90) 
    240 awkblockstart="^!\+$" 
    241 awkblockend="^!-$" 
    242 sedblockstart="^!+$" 
    243 sedblockend="^!-$" 
    244 comment="^!" 
    245 ;; 
    246 IDL) 
    247 awkblockstart="^;\+$" 
    248 awkblockend="^;-$" 
    249 sedblockstart="^;+$" 
    250 sedblockend="^;-$" 
    251 comment="^;" 
    252 ;; 
    253 xml) 
    254 awkblockstart="^<!--rst$" 
    255 awkblockend="-->$" 
    256 sedblockstart="^<!--rst$" 
    257 sedblockend="-->$" 
    258 comment="" 
    259 ;; 
    260 sh) 
    261 # iii : awk '/^\#\+/,/^\#\-/' $file 
    262 awkblockstart="^\#\+$" 
    263 awkblockend="^\#\-$" 
    264 sedblockstart="^#+" 
    265 sedblockend="^#-" 
    266 comment="^#" 
    267 ;; 
    268 dot|php) 
    269 awkblockstart="^\/\*rst$" 
    270 awkblockend="*\/" 
    271 sedblockstart="^\/\*rst$" 
    272 sedblockend="^\*\/" 
    273 comment="" 
    274 ;; 
    275 matlab) 
    276 awkblockstart="^%\+$" 
    277 awkblockend="^%-$" 
    278 sedblockstart="^%+$" 
    279 sedblockend="^%-$" 
    280 comment="^%" 
    281 ;; 
    282 *) 
    283  echo "eee : ${language} not implemented" 
    284  exit 1 
    285 ;; 
     232   fortran) 
     233      awkblockstart="^C\+$" 
     234      awkblockend="^C-$" 
     235      sedblockstart="^C+$" 
     236      sedblockend="^C-$" 
     237      comment="^C" 
     238   ;; 
     239   F90) 
     240      awkblockstart="^!\+$" 
     241      awkblockend="^!-$" 
     242      sedblockstart="^!+$" 
     243      sedblockend="^!-$" 
     244      comment="^!" 
     245   ;; 
     246   IDL) 
     247      awkblockstart="^;\+$" 
     248      awkblockend="^;-$" 
     249      sedblockstart="^;+$" 
     250      sedblockend="^;-$" 
     251      comment="^;" 
     252   ;; 
     253   xml) 
     254      awkblockstart="^<!--rst$" 
     255      awkblockend="-->$" 
     256      sedblockstart="^<!--rst$" 
     257      sedblockend="-->$" 
     258      comment="" 
     259   ;; 
     260   sh) 
     261      # iii : awk '/^\#\+/,/^\#\-/' $file 
     262      awkblockstart="^\#\+$" 
     263      awkblockend="^\#\-$" 
     264      sedblockstart="^#+" 
     265      sedblockend="^#-" 
     266      comment="^#" 
     267   ;; 
     268   dot|php) 
     269      awkblockstart="^\/\*rst$" 
     270      awkblockend="*\/" 
     271      sedblockstart="^\/\*rst$" 
     272      sedblockend="^\*\/" 
     273      comment="" 
     274   ;; 
     275   matlab) 
     276      awkblockstart="^%\+$" 
     277      awkblockend="^%-$" 
     278      sedblockstart="^%+$" 
     279      sedblockend="^%-$" 
     280      comment="^%" 
     281   ;; 
     282   *) 
     283      echo "eee : ${language} not implemented" 
     284      exit 1 
     285   ;; 
    286286esac 
    287287# 
     
    295295if [ ! -s /tmp/${$}_1 ] 
    296296then 
    297  rm /tmp/${$}_0 /tmp/${$}_1 
    298  echo "iii : no rst comments in ${filein}" 
    299  exit 1 
     297   rm /tmp/${$}_0 /tmp/${$}_1 
     298   echo "iii : no rst comments in ${filein}" 
     299   exit 1 
    300300fi 
    301301# 
     
    307307if [ "${comment}" != "" ] 
    308308then 
    309  sedcmd="sed -e \"s/${comment}//\" /tmp/${$}_2 > /tmp/${$}_3" 
    310  eval ${sedcmd} 
    311  # suppress first blank 
    312  cp /tmp/${$}_3 /tmp/${$}_2 
    313  sed -e "s/^ //" /tmp/${$}_2 > /tmp/${$}_3 
    314  cp /tmp/${$}_3 ${fileout} 
     309   sedcmd="sed -e \"s/${comment}//\" /tmp/${$}_2 > /tmp/${$}_3" 
     310   eval ${sedcmd} 
     311   # suppress first blank 
     312   cp /tmp/${$}_3 /tmp/${$}_2 
     313   sed -e "s/^ //" /tmp/${$}_2 > /tmp/${$}_3 
     314   cp /tmp/${$}_3 ${fileout} 
    315315else 
    316  cp /tmp/${$}_2 ${fileout} 
     316   cp /tmp/${$}_2 ${fileout} 
    317317fi 
    318318# 
  • trunk/detectbarotropicmode.sh

    r42 r44  
    6161while [ ! -z "${1}" ] # ++ pb bash 
    6262do 
    63  case ${1} in 
    64  -l) 
    65     list=${2} 
    66     shift 
    67  ;; 
    68  -r) 
    69     orcares=${2} 
    70     shift 
    71  ;; 
    72  -exp) 
    73     drakkar_exp=${2} 
    74     shift 
    75  ;; 
    76  -g) 
    77     grid=${2} 
    78     shift 
    79  ;; 
    80  -latmin) 
    81     latmin=${2} 
    82     shift 
    83  ;; 
    84  -latmax) 
    85     latmax=${2} 
    86     shift 
    87  ;; 
    88  -longmin) 
    89     longmin=${2} 
    90     shift 
    91  ;; 
    92  -longmax) 
    93     longmax=${2} 
    94     shift 
    95  ;; 
    96  *) # other choice 
    97     echo "eee : unknown option ${1}" 
    98     echo "${usage}" 
    99  ;; 
    100  esac 
    101  shift # next flag 
     63   case ${1} in 
     64      -l) 
     65         list=${2} 
     66         shift 
     67      ;; 
     68      -r) 
     69         orcares=${2} 
     70         shift 
     71      ;; 
     72      -exp) 
     73         drakkar_exp=${2} 
     74         shift 
     75      ;; 
     76      -g) 
     77         grid=${2} 
     78         shift 
     79      ;; 
     80      -latmin) 
     81         latmin=${2} 
     82         shift 
     83      ;; 
     84      -latmax) 
     85         latmax=${2} 
     86         shift 
     87      ;; 
     88      -longmin) 
     89         longmin=${2} 
     90         shift 
     91      ;; 
     92      -longmax) 
     93         longmax=${2} 
     94         shift 
     95      ;; 
     96      *) # other choice 
     97         echo "eee : unknown option ${1}" 
     98         echo "${usage}" 
     99      ;; 
     100   esac 
     101   shift # next flag 
    102102done 
    103103# 
     
    107107if [ ! -d ${GEOMAG_LOG} ] 
    108108then 
    109  echo " eee : \${GEOMAG_LOG} not found" 
    110  exit 1 
     109   echo " eee : \${GEOMAG_LOG} not found" 
     110   exit 1 
    111111fi 
    112112# ++ blindage en tout genre 
    113113# 
    114114case ${grid} in 
    115 gridT) 
    116   echo "iii : grid=${orcares}" 
    117  ;; 
    118 *) 
    119   echo "eee : pb \${grid} = ${grid}" 
    120   exit 1 
    121 ;; 
     115   gridT) 
     116      echo "iii : grid=${orcares}" 
     117   ;; 
     118   *) 
     119      echo "eee : pb \${grid} = ${grid}" 
     120      exit 1 
     121   ;; 
    122122esac 
    123123# 
    124124case ${orcares} in 
    125 ORCA025) 
    126   echo "iii : orcares=${orcares}" 
    127  ;; 
    128 *) 
    129   echo "eee : pb \${orcares} = ${orcares}" 
    130   exit 1 
    131 ;; 
     125   ORCA025) 
     126      echo "iii : orcares=${orcares}" 
     127   ;; 
     128   *) 
     129      echo "eee : pb \${orcares} = ${orcares}" 
     130      exit 1 
     131   ;; 
    132132esac 
    133133# 
    134134case ${drakkar_exp} in 
    135 G42) 
    136   echo "iii : drakkar_exp=${drakkar_exp}" 
    137  ;; 
    138 *) 
    139   echo "eee : pb \${drakkar_exp} = ${drakkar_exp}" 
    140   exit 1 
    141 ;; 
     135   G42) 
     136      echo "iii : drakkar_exp=${drakkar_exp}" 
     137   ;; 
     138   *) 
     139      echo "eee : pb \${drakkar_exp} = ${drakkar_exp}" 
     140      exit 1 
     141   ;; 
    142142esac 
    143143# 
    144144# ++ conversion of latitude and longitude in x and y indexes 
    145145case ${orcares} in 
    146 ORCA025) 
    147    xmin=529 
    148    xmax=689 
    149    ymin=266 
    150    ymax=372 
    151    echo "iii : forcage xmin xmax ymin ymax : ${xmin} ${xmax} ${ymin} ${ymax}" 
    152 ;; 
    153 *) 
    154   echo "eee : pb conversion lat,long to x,y" 
    155   exit 1 
    156 ;; 
     146   ORCA025) 
     147      xmin=529 
     148      xmax=689 
     149      ymin=266 
     150      ymax=372 
     151      echo "iii : forcage xmin xmax ymin ymax : ${xmin} ${xmax} ${ymin} ${ymax}" 
     152   ;; 
     153   *) 
     154      echo "eee : pb conversion lat,long to x,y" 
     155      exit 1 
     156   ;; 
    157157esac 
    158158# 
     
    161161for file in  `cat ${list}` 
    162162do 
    163  echo "iii : extraction from ${file}" # ++ voir seulement si debug demandé 
    164  filessh=${GEOMAG_OD}/`basename ${file} .nc`_ssh.nc 
    165  rm -f ${filessh} 2> /dev/null 
    166  ncks --dimension x,${xmin},${xmax} --dimension y,${ymin},${ymax}  -v sossheig,nav_lon,nav_lat \ 
    167  ${file} ${filessh} 
    168  status_ncks=${?} 
    169  if [ ${status_ncks} -ne 0 ] 
    170  then 
    171     echo "eee : pb with ncks ${file}" 
    172     exit 1 
    173  else 
    174     list_ssh="${list_ssh} ${filessh}" 
    175  fi 
     163   echo "iii : extraction from ${file}" # ++ voir seulement si debug demandé 
     164   filessh=${GEOMAG_OD}/`basename ${file} .nc`_ssh.nc 
     165   rm -f ${filessh} 2> /dev/null 
     166   ncks --dimension x,${xmin},${xmax} --dimension y,${ymin},${ymax}  -v sossheig,nav_lon,nav_lat \ 
     167      ${file} ${filessh} 
     168   status_ncks=${?} 
     169   if [ ${status_ncks} -ne 0 ] 
     170   then 
     171      echo "eee : pb with ncks ${file}" 
     172      exit 1 
     173   else 
     174      list_ssh="${list_ssh} ${filessh}" 
     175   fi 
    176176done 
    177177line=`head -n 1  ${list}` 
  • trunk/geomag_profile.sh

    r42 r44  
    9696while [ ! -z "${1}" ] # ++ pb bash 
    9797do 
    98  case ${1} in 
    99  -d) # directory for application choosen by user (see svn checkout command used) 
    100   directory=${2} 
    101   shift 
    102  ;; 
    103  -i) # directory for inputs choosen by user 
    104   indir=${2} 
    105   shift 
    106  ;; 
    107  -o) # directory for outputs choosen by user 
    108   outdir=${2} 
    109   shift 
    110  ;; 
    111  -t) # directory for temporary outputs choosen by user 
    112   tempdir=${2} 
    113   shift 
    114  ;; 
    115  
    116  *) # other choice 
    117   echo "eee : unknown option ${1}" 
    118   echo "${usage}" 
    119   # nb : no exit because this file should be launched by login process 
    120  ;; 
    121  esac 
    122  shift # next flag 
     98   case ${1} in 
     99      -d) # directory for application choosen by user (see svn checkout command used) 
     100         directory=${2} 
     101         shift 
     102      ;; 
     103      -i) # directory for inputs choosen by user 
     104         indir=${2} 
     105         shift 
     106      ;; 
     107      -o) # directory for outputs choosen by user 
     108         outdir=${2} 
     109         shift 
     110      ;; 
     111      -t) # directory for temporary outputs choosen by user 
     112         tempdir=${2} 
     113         shift 
     114      ;; 
     115      *) # other choice 
     116         echo "eee : unknown option ${1}" 
     117         echo "${usage}" 
     118         # nb : no exit because this file should be launched by login process 
     119      ;; 
     120   esac 
     121   shift # next flag 
    123122done 
    124123unset usage 
     
    129128if [ ! -d ${directory} ] 
    130129then 
    131  echo " eee : ${directory} not found" 
    132  # nb : no exit because this file should be launched by login process 
     130   echo " eee : ${directory} not found" 
     131   # nb : no exit because this file should be launched by login process 
    133132fi 
    134133# 
     
    136135if [ ! -x ${directory} ] 
    137136then 
    138  echo " eee : ${directory} not reachable" 
    139  # nb : no exit because this file should be launched by login process 
     137   echo " eee : ${directory} not reachable" 
     138   # nb : no exit because this file should be launched by login process 
    140139fi 
    141140# 
     
    143142system=$(uname) 
    144143case "${system}" in 
    145 IRIX64) 
    146   echo " www : no specific posix checking" 
    147 ;; 
    148 *) 
    149   set -o posix 
    150 ;; 
     144   IRIX64) 
     145      echo " www : no specific posix checking" 
     146   ;; 
     147   *) 
     148      set -o posix 
     149   ;; 
    151150esac 
    152151unset system 
     
    189188if [ ! -d ${GEOMAG_LOG} ] 
    190189then 
    191   mkdir -p ${GEOMAG_LOG} 
    192   echo "${command} : iii : creation of \${GEOMAG_LOG}" 
     190   mkdir -p ${GEOMAG_LOG} 
     191   echo "${command} : iii : creation of \${GEOMAG_LOG}" 
    193192fi 
    194193# check for permission on GEOMAG_LOG 
    195194if [ ! -x ${GEOMAG_LOG} ] 
    196195then 
    197  echo " eee : ${GEOMAG_LOG} not reachable" 
    198  # nb : no exit because this file should be launched by login process 
     196   echo " eee : ${GEOMAG_LOG} not reachable" 
     197   # nb : no exit because this file should be launched by login process 
    199198fi 
    200199# 
     
    202201if [ ! -w ${GEOMAG_LOG} ] 
    203202then 
    204  echo " eee : ${GEOMAG_LOG} not writable" 
    205  # nb : no exit because this file shouldreachable be launched by login process 
     203   echo " eee : ${GEOMAG_LOG} not writable" 
     204   # nb : no exit because this file shouldreachable be launched by login process 
    206205fi 
    207206# 
     
    215214if [ ! -d ${GEOMAG_ID} ] 
    216215then 
    217   mkdir -p ${GEOMAG_ID} 
    218   echo "${command} : iii : creation of \${GEOMAG_ID}" 
     216   mkdir -p ${GEOMAG_ID} 
     217   echo "${command} : iii : creation of \${GEOMAG_ID}" 
    219218fi 
    220219# check for permission on GEOMAG_ID 
    221220if [ ! -x ${GEOMAG_ID} ] 
    222221then 
    223  echo " eee : ${GEOMAG_ID} not reachable" 
    224  # nb : no exit because this file should be launched by login process 
     222   echo " eee : ${GEOMAG_ID} not reachable" 
     223   # nb : no exit because this file should be launched by login process 
    225224fi 
    226225# 
     
    230229if [ ! -d ${GEOMAG_OD} ] 
    231230then 
    232   mkdir -p ${GEOMAG_OD} 
    233   echo "${command} : iii : creation of \${GEOMAG_OD}" 
     231   mkdir -p ${GEOMAG_OD} 
     232   echo "${command} : iii : creation of \${GEOMAG_OD}" 
    234233fi 
    235234# check for permission on GEOMAG_OD 
    236235if [ ! -x ${GEOMAG_OD} ] 
    237236then 
    238  echo " eee : ${GEOMAG_OD} not reachable" 
    239  # nb : no exit because this file should be launched by login process 
     237   echo " eee : ${GEOMAG_OD} not reachable" 
     238   # nb : no exit because this file should be launched by login process 
    240239fi 
    241240if [ ! -w ${GEOMAG_OD} ] 
    242241then 
    243  echo " eee : ${GEOMAG_OD} not writable" 
    244  # nb : no exit because this file should be launched by login process 
     242   echo " eee : ${GEOMAG_OD} not writable" 
     243   # nb : no exit because this file should be launched by login process 
    245244fi 
    246245# 
  • trunk/getmodelout.sh

    r42 r44  
    4949while [ ! -z "${1}" ] # ++ pb bash 
    5050do 
    51  case ${1} in 
    52  -r) 
    53     orcares=${2} 
    54     shift 
    55  ;; 
    56  -exp) 
    57     drakkar_exp=${2} 
    58     shift 
    59  ;; 
    60  -g) 
    61     grid=${2} 
    62     shift 
    63  ;; 
    64  -yearmin) 
    65    yearmin=${2} 
    66    shift 
    67  ;; 
    68  -yearmax) 
    69    yearmax=${2} 
    70    shift 
    71  ;; 
    72  -o) 
    73    list=${2} 
    74    shift 
    75  ;; 
    76  *) # other choice 
    77    echo "eee : unknown option ${1}" 
    78    echo "${usage}" 
    79  ;; 
    80  esac 
    81  shift # next flag 
     51   case ${1} in 
     52      -r) 
     53         orcares=${2} 
     54         shift 
     55      ;; 
     56      -exp) 
     57         drakkar_exp=${2} 
     58         shift 
     59      ;; 
     60      -g) 
     61         grid=${2} 
     62         shift 
     63      ;; 
     64      -yearmin) 
     65         yearmin=${2} 
     66         shift 
     67      ;; 
     68      -yearmax) 
     69         yearmax=${2} 
     70         shift 
     71      ;; 
     72      -o) 
     73         list=${2} 
     74         shift 
     75      ;; 
     76      *) # other choice 
     77         echo "eee : unknown option ${1}" 
     78         echo "${usage}" 
     79      ;; 
     80   esac 
     81   shift # next flag 
    8282done 
    8383unset usage 
     
    8888if [ ! -d ${GEOMAG_LOG} ] 
    8989then 
    90  echo " eee : \${GEOMAG_LOG} not found" 
    91  exit 1 
     90   echo " eee : \${GEOMAG_LOG} not found" 
     91   exit 1 
    9292fi 
    9393# 
    9494if [ -f ${list} ] 
    9595then 
    96   echo "eee : ${list} exist" 
    97   exit 1 
     96   echo "eee : ${list} exist" 
     97   exit 1 
    9898fi 
    9999# ++ blindage en tout genre 
    100100# 
    101101case ${orcares} in 
    102 ORCA025) 
    103    dirref=/u/rech/cli/rcli002/ # sur l'idris 
    104 ;; 
    105 *) 
    106    echo "eee : pb \${orcares} = ${orcares}" 
    107 ;; 
     102   ORCA025) 
     103      dirref=/u/rech/cli/rcli002/ # sur l'idris 
     104   ;; 
     105   *) 
     106      echo "eee : pb \${orcares} = ${orcares}" 
     107   ;; 
    108108esac 
    109109# 
     
    113113while [ ${iyear} -le ${yearmax} ] 
    114114do 
    115   cyear=`printf "%4.4d" ${iyear}` 
    116   ls ${dirref}/${orcares}/${orcares}-${drakkar_exp}-S/${cyear}/${orcares}-${drakkar_exp}_y${cyear}m??d??_${grid}.nc >> ${listfull} 
    117   unset cyear 
    118   # ++ calcul taille cf myls dans faq es dods 
    119   # iyear=$(( ${iyear} + 1 )) ++ pas ok sur rhodes 
    120   # iyear=$(expr  ${iyear} + 1 )  ++ pas ok sur rhodes 
    121   iyear=`expr  ${iyear} + 1 ` 
     115   cyear=`printf "%4.4d" ${iyear}` 
     116   ls ${dirref}/${orcares}/${orcares}-${drakkar_exp}-S/${cyear}/${orcares}-${drakkar_exp}_y${cyear}m??d??_${grid}.nc >> ${listfull} 
     117   unset cyear 
     118   # ++ calcul taille cf myls dans faq es dods 
     119   # iyear=$(( ${iyear} + 1 )) ++ pas ok sur rhodes 
     120   # iyear=$(expr  ${iyear} + 1 )  ++ pas ok sur rhodes 
     121   iyear=`expr  ${iyear} + 1 ` 
    122122done 
    123123unset iyear 
     
    138138for file in  `cat ${listfull}` 
    139139do 
    140   ln -sf ${file} ${GEOMAG_ID} 
    141   echo ${GEOMAG_ID}/`basename ${file}` >> ${list} 
     140   ln -sf ${file} ${GEOMAG_ID} 
     141   echo ${GEOMAG_ID}/`basename ${file}` >> ${list} 
    142142done 
    143143unset listfull 
  • trunk/step2_diff.sh

    r42 r44  
    4242system=$(uname) 
    4343case "${system}" in 
    44 AIX|IRIX64) 
    45  echo " www : no specific posix checking" 
    46 ;; 
    47 *) 
    48  set -o posix 
    49 ;; 
     44   AIX|IRIX64) 
     45      echo " www : no specific posix checking" 
     46   ;; 
     47   *) 
     48      set -o posix 
     49   ;; 
    5050esac 
    5151unset system 
     
    5757while [ ! -z "${1}" ] # ++ pb bash 
    5858do 
    59  case ${1} in 
    60  -y) # year 
    61   year=${2} 
    62   shift 
    63  ;; 
    64  *) # other choice 
    65   echo "eee : unknown option ${1}" 
    66   echo "${usage}" 
    67   exit 1 
    68  ;; 
    69  esac 
    70  shift # next flag 
     59   case ${1} in 
     60      -y) # year 
     61         year=${2} 
     62         shift 
     63      ;; 
     64      *) # other choice 
     65         echo "eee : unknown option ${1}" 
     66         echo "${usage}" 
     67         exit 1 
     68      ;; 
     69   esac 
     70   shift # next flag 
    7171done 
    7272unset usage 
Note: See TracChangeset for help on using the changeset viewer.