Changeset 146 for trunk/bibopa.sh


Ignore:
Timestamp:
02/27/12 17:50:53 (12 years ago)
Author:
pinsard
Message:

xmlstarlet vs xml

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bibopa.sh

    r137 r146  
    160160#  Tsimplis, Michael, Marta Marcos, Jeanne Colin, Samuel Somot, Ananda Pascual, A.G.P. Shaw, 2009 : Sea level variability in the Mediterranean Sea during the 1990s on the basis of two 2d and one 3d model, Journal of Marine Systems, 78, 1, 109-123, doi:10.1016/j.jmarsys.2009.04.003 
    161161# 
    162 # 
    163162# EVOLUTIONS 
    164163# ========== 
    165164# 
    166165# $Id$ 
     166# 
     167# - fplod 20120227 
     168# 
     169#   * xmlstarlet vs xml 
    167170# 
    168171# - fplod 20101006T113902Z aedon.locean-ipsl.upmc.fr (Darwin) 
     
    315318   AIX|IRIX64) 
    316319      echo " www : no specific posix checking" 
     320      xmlcmd=xml 
     321   ;; 
     322   Darwin) 
     323      xmlcmd=xmlstarlet 
    317324   ;; 
    318325   *) 
    319326      set -o posix 
     327      xmlcmd=xml 
    320328   ;; 
    321329esac 
     
    341349# 
    342350# test if xml is available 
    343 tool=xml 
     351tool=${xmlcmd} 
    344352type ${tool} 1> /dev/null 2>&1 
    345353status=${?} 
     
    13411349case ${typeout} in 
    13421350   dbk) 
    1343       xml val --err \ 
     1351      ${xmlcmd} val --err \ 
    13441352         --xsd http://www.docbook.org/xml/5.0/xsd/docbook.xsd \ 
    13451353         ${fileou} 1> xmlstarlet.log 2>&1 
Note: See TracChangeset for help on using the changeset viewer.