Changeset 431 for trunk/SRC/Documentation/xmldoc/pro2href.sh
- Timestamp:
- 04/20/10 15:14:28 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/xmldoc/pro2href.sh
r430 r431 2 2 # 3 3 # DESCRIPTION 4 # =========== 4 # =========== 5 5 # 6 6 # replace <element>ginette</element> by a sequence like with element given 7 7 # in argument <a href="./ginette.html">ginette</a> 8 8 # in all html files in dirhtml given in argument 9 # We have to deal with the path of ginette.html in refhtml also given in 9 # We have to deal with the path of ginette.html in refhtml also given in 10 10 # argument. 11 11 # … … 19 19 # add -e (element) parameter to define element syntax like 20 20 # <pro></pro> or <proidl>...</proidl> 21 # add -i parameter : this directory is the one where we are looking for 21 # add -i parameter : this directory is the one where we are looking for 22 22 # html files to be modified. so replace output by dirhtml 23 # add -r parameter : this directory is the one where we are looking for 23 # add -r parameter : this directory is the one where we are looking for 24 24 # html files to be linked 25 # remove lowercase translation (because of idl help files which are in 25 # remove lowercase translation (because of idl help files which are in 26 26 # uppercase) 27 27 # fplod 2007-08-20T11:25:39Z aedon.locean-ipsl.upmc.fr (Darwin) … … 49 49 do 50 50 case ${1} in 51 -i) # dirhtml51 -i) 52 52 dirhtml=${2} 53 53 shift 54 54 ;; 55 -r) # refhtml55 -r) 56 56 refhtml=${2} 57 57 shift 58 58 ;; 59 -e) # element59 -e) 60 60 element=${2} 61 61 shift … … 65 65 exit 0 66 66 ;; 67 *) # other choice 67 *) 68 # other choice 68 69 echo "${usage}" 69 70 exit 1 70 71 ;; 71 72 esac 72 shift # next flag 73 # next flag 74 shift 73 75 done 74 76 # … … 136 138 path="./" 137 139 fi 138 if [ "${lpath:0:1}" = "/" ] # absolute path140 if [ "${lpath:0:1}" = "/" ] 139 141 then 142 # absolute path 140 143 path=${lpath} 141 144 else
Note: See TracChangeset
for help on using the changeset viewer.