File: vcflib

package info (click to toggle)
libvcflib 1.0.12%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 70,508 kB
  • sloc: cpp: 39,837; python: 532; perl: 474; ansic: 317; ruby: 295; sh: 254; lisp: 148; makefile: 123; javascript: 94
file content (24 lines) | stat: -rw-r--r-- 404 bytes parent folder | download | duplicates (7)
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

BINDIR=/usr/lib/vcflib/bin

if [ $# -lt 1 ] ; then
    echo "Usage: $0 <program>" 1>&2
    echo "  Existing programs are:"
    ls ${BINDIR}
    exit 1
fi

WRAPPER=$0
PROGRAM=$1
shift
ARGS=$*

if [ -x ${BINDIR}/${PROGRAM} ]; then
    exec ${BINDIR}/${PROGRAM} ${ARGS}
else
    echo "Usage: ${PROGRAM} does not exist in vcflib"
    echo "  Existing programs are:"
    ls ${BINDIR}
    exit 1
fi