File: democonvert.sh

package info (click to toggle)
pingus 0.7.6-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 31,684 kB
  • sloc: cpp: 42,080; xml: 2,319; lisp: 521; ruby: 455; ansic: 365; objc: 248; sh: 247; makefile: 66; python: 15
file content (17 lines) | stat: -rwxr-xr-x 242 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

for IN in "$@"; do
    OUT="${IN}"
    OUT="${OUT%%.xml}"
    OUT="${OUT}.pingus-demo"

    echo "IN:     $IN"
    echo "OUT:    $OUT"

    xsltproc \
        -o "$OUT" \
        tools/democonvert.xsl \
        "$IN"
done

# EOF #