Changeset 74 for trunk/bibopa.sh
- Timestamp:
- 06/17/08 11:22:47 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bibopa.sh
r71 r74 117 117 # 118 118 # test if xsltproc is available 119 type xsltproc 1> /dev/null 2>&1 119 tool=xsltproc 120 type ${tool} 1> /dev/null 2>&1 120 121 status=${?} 121 122 if [ ${status} -ne 0 ] 122 123 then 123 echo " eee : xsltprocnot found"124 echo " eee : ${tool} not found" 124 125 exit 1 125 126 fi 126 127 unset status 128 unset tool 127 129 # 128 130 # test if xml is available 129 type xml 1> /dev/null 2>&1 131 tool=xml 132 type ${tool} 1> /dev/null 2>&1 130 133 status=${?} 131 134 if [ ${status} -ne 0 ] 132 135 then 133 echo " eee : xmlnot found"136 echo " eee : ${tool} not found" 134 137 exit 1 135 138 fi 136 139 unset status 140 unset tool 137 141 # 138 142 # test if python is available 139 type python 1> /dev/null 2>&1 143 tool=python 144 type ${tool} 1> /dev/null 2>&1 140 145 status=${?} 141 146 if [ ${status} -ne 0 ] 142 147 then 143 echo " eee : python not found}"148 echo " eee : ${tool} not found" 144 149 exit 1 145 150 fi 146 151 unset status 152 unset tool 147 153 # 148 154 usage=" Usage : ${command} -i filein -t type -o order -p project -l lang" … … 424 430 fileraw_strict=/tmp/$(basename ${fileraw})_strict 425 431 grep -v "^#" ${fileraw} | grep -v "^%" > ${fileraw_strict} 432 iconv -f ISO-8859-1 -t UTF-8 ${fileraw_strict} > ${fileraw_strict}2 433 mv ${fileraw_strict}2 ${fileraw_strict} 426 434 case ${type} in 427 435 bibtex)
Note: See TracChangeset
for help on using the changeset viewer.