Changeset 75 for trunk/install.sh


Ignore:
Timestamp:
09/16/08 17:49:46 (16 years ago)
Author:
pinsard
Message:

comments in shell scripts in ReStructured? Text

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/install.sh

    r74 r75  
    11#!/bin/sh 
    22# 
    3 # module : 
     3#+ 
     4# NAME 
     5# ==== 
     6# 
     7# install.sh - publication of HTML files and associated files 
     8# 
     9# 
     10# SYNOPSYS 
     11# ======== 
     12# 
     13# :: 
     14# 
     15#  $ install.sh -w dirwww -p dirpublish -u urlpublish -l login 
     16# 
     17# DESCRIPTION 
     18# =========== 
     19# 
     20# 
    421# publication (rsync) of dirwww content on dirpublish given in argument 
    522# 
     
    724# is launched. 
    825# 
    9 # update : 
     26# EXAMPLES 
     27# ======== 
     28# 
     29# FILES 
     30# ===== 
     31# 
     32# original location 
     33# ~~~~~~~~~~~~~~~~~ 
     34# 
     35# /usr/home/fplod/src/superbib_ws/install.sh sur aedon.locean-ipsl.upmc.fr 
     36# 
     37# EVOLUTIONS 
     38# ========== 
     39# 
    1040# $Id$ 
    11 # fplod 2008-06-17T09:10:19Z aedon.locean-ipsl.upmc.fr (Darwin) 
    12 # add -l parameter only used in specific case at LOCEAN when user parameter of 
    13 # persoweb must be different tthan login (ex: acmo vs fplod) 
    14 # replace http://www.lodyc.jussieu.fr/info_reseau/persoweb/?fastupdate=1&user=${user}" 
    15 # by 
    16 # http://intranet.locean-ipsl.upmc.fr/persoweb/?fastupdate=1&user=${user} 
    17 # fplod 2008-03-28T10:26:58Z aedon.locean-ipsl.upmc.fr (Darwin) 
    18 # new personnal webpages policy at LOCEAN so new command and new parameter (-u) 
    19 # fplod 2007-09-28T09:30:43Z aedon.locean-ipsl.upmc.fr (Darwin) 
    20 # parametrisation and translation 
    21 # smasson 2007-06-07T16:43:42Z arete.locean-ipsl.upmc.fr (Darwin) 
    22 # can give the answer with input parameters 
    23 # fplod 2007-04-26T11:51:42Z aedon.locean-ipsl.upmc.fr (Darwin) 
    2441# 
    25 set -o posix 
     42# - fplod 2008-09-16T15:24:26Z aedon.locean-ipsl.upmc.fr (Darwin) 
     43# 
     44#  * comments in ReStructured Text 
     45# 
     46# - fplod 2008-06-17T09:10:19Z aedon.locean-ipsl.upmc.fr (Darwin) 
     47# 
     48#  * add -l parameter only used in specific case at LOCEAN when user 
     49#    parameter of persoweb must be different tthan login (ex: acmo vs fplod) 
     50#  * replace http://www.lodyc.jussieu.fr/info_reseau/persoweb/?fastupdate=1&user=${user}" by 
     51#    http://intranet.locean-ipsl.upmc.fr/persoweb/?fastupdate=1&user=${user} 
     52# 
     53# - fplod 2008-03-28T10:26:58Z aedon.locean-ipsl.upmc.fr (Darwin) 
     54# 
     55#   * new personnal webpages policy at LOCEAN so new command and new parameter (-u) 
     56# 
     57# - fplod 2007-09-28T09:30:43Z aedon.locean-ipsl.upmc.fr (Darwin) 
     58# 
     59#  * parametrisation and translation 
     60# 
     61# - smasson 2007-06-07T16:43:42Z arete.locean-ipsl.upmc.fr (Darwin) 
     62# 
     63#  * can give the answer with input parameters 
     64# 
     65# - fplod 2007-04-26T11:51:42Z aedon.locean-ipsl.upmc.fr (Darwin) 
     66# 
     67#- 
     68system=$(uname) 
     69case "${system}" in 
     70 AIX|IRIX64) 
     71  echo " www : no specific posix checking" 
     72 ;; 
     73 *) 
     74  set -o posix 
     75 ;; 
     76esac 
     77# 
    2678command=$(basename ${0} .sh) 
    2779log_date=$(date -u +"%Y-%m-%dT%H:%M:%SZ") 
Note: See TracChangeset for help on using the changeset viewer.