File: wrapper.sh

package info (click to toggle)
ncbi-tools6 6.1.20170106%2Bdfsg1-0%2Bdeb10u2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 468,492 kB
  • sloc: ansic: 1,474,204; pascal: 6,740; cpp: 6,248; xml: 3,390; sh: 2,137; perl: 1,084; csh: 508; makefile: 427; ruby: 93; lisp: 81
file content (52 lines) | stat: -rw-r--r-- 1,575 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#! /bin/sh
#
# $Id: wrapper.sh,v 6.11 1999/06/09 04:07:16 kimelman Exp $
#
# this is CGI handler wrapper. It works as a membrane between httpd and actual
# cgi program and allow to run new technological version of such program in 
# parallel to old one and compare results in "real life" condition. 
#
# $Log: wrapper.sh,v $
# Revision 6.11  1999/06/09 04:07:16  kimelman
# cosmetics
#
# Revision 6.10  1999/04/19 17:32:30  kimelman
# new wrapper
#
# Revision 6.9  1998/10/07 21:58:16  kimelman
# code cleaned & made easy to read.
# check for directory access permission added
# binaries expected names changed
# this version of script is expected to work on public servers
#
# Revision 6.8  1998/06/09 19:16:07  kimelman
# extra bracket removed.
#
# Revision 6.7  1998/06/09 18:50:35  kimelman
# permissions problems workaround added to wrapper
#
#

progname=$0
options="$*"
progdir=`dirname $progname`

. $progdir/wrapper_lib.sh

# redefine the default problem report recipient (victim :) )
# THEvictim="kimelman zimmerma"

# the following line will collect execution time statistics in given file 
# do_timing               # find sutable place (default is ./stats.$basename or log/stats.$basename)
# do_timing ./stats       # coolect stats in file '../stats'

# run EXECs in parallel - diff results , gather time statistics, report deltas to victim
# default mode : EXECs checked for $progname.REAL $progname.NEW $progname.OLD
run_all  
# here is a smarter way
#run_all ${progdir}/${basename}.FF ${progdir}/${basename}.PS ${progdir}/${basename}.OLD

#
# The end
#
exit 0