File: utf82latin1.sh

package info (click to toggle)
texlive-lang 2016.20170123-5
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,093,148 kB
  • ctags: 15,901
  • sloc: perl: 46,074; xml: 29,603; makefile: 5,248; sh: 3,179; python: 2,949; ansic: 2,846; ruby: 945; lisp: 726; awk: 636; java: 159; sed: 142; cpp: 12
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