Changeset 42 for trunk/step2_diff.sh


Ignore:
Timestamp:
03/25/10 16:46:26 (14 years ago)
Author:
pinsard
Message:

improvements of headers and unset in shell scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/step2_diff.sh

    r39 r42  
    33#+ 
    44# 
    5 # NAME 
    6 # ==== 
     5# ============= 
     6# step2_diff.sh 
     7# ============= 
    78# 
    8 # step2_diff.sh - launch step2_diff.pro with year argument 
    9 # 
     9# ------------------------------------------ 
     10# launch step2_diff.pro with year argument 
     11# ------------------------------------------ 
    1012# 
    1113# SYNOPSYS 
     
    1921# ======== 
    2022# 
    21 # For test on year 1994: 
    22 # :: 
     23# For test on year 1994:: 
    2324# 
    2425#  $ ./step2_diff.sh -y 1994 
    25 # 
    26 # FILES 
    27 # ===== 
    28 # 
    29 # original location 
    30 # ~~~~~~~~~~~~~~~~~ 
    31 # 
    32 # /usr/home/fplod/incas/geomag/geomag_ws/step2_diff.sh sur aedon.locean-ipsl.upmc.fr 
    3326# 
    3427# EVOLUTIONS 
     
    3629# 
    3730# $Id$ 
     31# 
     32# - fplod 20100318T074009Z aedon.locean-ipsl.upmc.fr (Darwin) 
     33# 
     34#   * unset 
    3835# 
    3936# - fplod 2007-08-22T08:50:02Z aedon.locean-ipsl.upmc.fr (Darwin) 
     
    5249;; 
    5350esac 
     51unset system 
    5452# 
    5553command=$(basename ${0}) 
     
    6563 ;; 
    6664 *) # other choice 
     65  echo "eee : unknown option ${1}" 
    6766  echo "${usage}" 
    6867  exit 1 
     
    7170 shift # next flag 
    7271done 
     72unset usage 
    7373# 
    7474# ++ check year validity 
     
    8585EOF 
    8686# 
     87unset year 
     88# 
    8789# launch IDL with the sequence 
    8890${IDL_DIR}/bin/idl < /tmp/${command}${$}.pro 
Note: See TracChangeset for help on using the changeset viewer.