#!/bin/sh
######## ######## ######## ######## ########
# creator:: conor.williams@gmail.com
# zipped files thingy f.s c.s... stop>
# WARNING: prototype version v1.3
######## ######## ######## ######## ########

##set
CMD=$1
echo $CMD
echo ${CMD}
ARGS="$2 $3 $4"

if [ "@${CMD}" = "@" ]; then
echo "give an arg...which is the command..."
exit 753;
fi

if [ ! -d /ABCD ];  then
mkdir /ABCD
fi

if [ ! -f /ABCD/${CMD} ]; then
cp /bin/${CMD}.gz /ABCD
if [ $? != 0 ]; then
cp /usr/bin/${CMD}.gz /ABCD
fi
if [ $? != 0 ]; then
echo "going to have to stop!!"
exit $?
fi
fi

if [ $? != 0 ]; then
echo "peroblems...";
fi
#https://www.youtube.com/watch?v=tb63PdPweDc
#ESTIVILL -gud
PATH_1PRE=$PATH
echo $PATH
#o..zlem t..ureci -- moderna...
## global conversion --
PATH=/ABCD:$PATH
$1 $2 $3 $4
## shift r.s
echo $PATH
echo "*****"
echo ${CMD}

gunzip /ABCD/${CMD}.gz
#if already in path and gunzipped .. then; no problem...
${CMD} ${ARGS}
PATH=${PATH_1PRE}
# crimea was armenia in england s.t.s
######## ######## ######## ######## ########
#EOF
##ps: eNaira 2 euroN...
######## ######## ######## ######## ########