#!/bin/sh # # $Header: emcaDbUtil 25-jul-2006.04:52:51 rahgupta Exp $ # # emcaDbUtil # # Copyright (c) 2005, 2006, Oracle. All rights reserved. # # NAME # emcaDbUtil.sh - <one-line expansion of the name> # # DESCRIPTION # <short description of component this file declares/defines> # # NOTES # <other useful comments, qualifications, etc.> # # MODIFIED (MM/DD/YY) # rahgupta 07/24/06 - grant execute permission: # rahgupta 01/27/05 - rahgupta_bug-4017590_main # rahgupta 01/23/05 - Creation # # Usage $0 PERL5LIB PERL_EXEC_LOC PERL_FILE_TO_EXEC ARGS_TO_PERL_FILE if [ $# -lt 2 ] then echo "Usage $0 PERL5LIB PERL_EXEC_LOC PERL_FILE_TO_EXEC [ARGS_TO_PERL_FILE]"; exit 1; fi PERL5LIB="$1:$PERL5LIB"; export PERL5LIB; PERL_EXEC_LOC=$2; PERL_FILE=$3; shift 3; $PERL_EXEC_LOC $PERL_FILE "$@"