File: vcflib

package info (click to toggle)
libvcflib 1.0.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 49,628 kB
  • sloc: cpp: 39,244; perl: 474; python: 329; ruby: 285; sh: 247; ansic: 198; makefile: 131; javascript: 94; lisp: 57
file content (24 lines) | stat: -rw-r--r-- 404 bytes parent folder | download | duplicates (6)
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