File: utf82latin1.sh

package info (click to toggle)
texlive-doc 2009-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 192,004 kB
  • ctags: 4,774
  • sloc: perl: 12,760; xml: 11,870; makefile: 1,033; lisp: 394; sh: 229; awk: 205; java: 159; sed: 4
file content (24 lines) | stat: -rw-r--r-- 518 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
# xt.sh       Script to run file through J. Clark's XT XSL processor
# Author:     M.Goossens / IT
# Last mod:   Jan 16 1999

Name=`basename $0`
Usage="Usage: $Name UTF8-file Latin1-file"

if [ $# -lt 2 ]; then          # too few parameters
     echo $Usage >&2           # display error message
     exit 1                    # abort
fi

DIR=/afs/cern.ch/project/tex/java/michel
CLASSPATH=$DIR:$CLASSPATH

echo "The CLASSPATH is set to:"
echo $CLASSPATH
echo " "

export CLASSPATH

java utf8tolatin1 $1 $2