/usr/bin/dzedit is in dzedit 20061220+dfsg3-4.2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
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 | #!/bin/sh
# **********************************************************************
# * DZEDIT SHELL v1.02 *
# * *
# * Shell driver to the different versions of DZEDIT *
# * *
# * Author: M.Marquina 91/04/10 *
# * Mods Date Commments *
# * MARQUINA 91/08/15 Access DZEDIT-GKS directly from GKS_ROOT *
# * 91/12/14 Correct local SUN host *
# * *
# **********************************************************************
SHOPT="d:h:v:"
#SEQ,GETOPTD.
drv="X11" ; hst=""
[ -z "$CERN" ] && CERN="/usr"
[ -z "$CERN_LEVEL" ] && ver="." || ver="$CERN_LEVEL"
while [ $# -gt 0 ]
do case $1 in
-d) drv=$2 ; shift ;;
-h) hst=$2 ; shift ;;
-v) ver=$2 ; shift ;;
--) shift ; break ;;
*) break ;;
esac
shift
done
GDIR=$CERN/$ver/bin
if [ "$drv" = "GKS" ] ; then
[ -z "$GKS_ROOT" ] && GKS_ROOT="$CERN/gks/$ver"
[ -z "$GKS" ] && . $CERN/gks/$ver/mgr/gksstart.sh
# inlib $GKS_INLIB
GDIR=$CERN/gks/$ver/bin
fi
if [ "$drv" = "X11" -a -n "$hst" ] ; then
DISPLAY="$hst:0.0" ; export DISPLAY
fi
if [ "$ver" != "." ] ; then
echo
echo " Calling $ver version of dzedit-$drv..."
echo
fi
exec $GDIR/dze$drv "$@"
|