ACC SHELL

Path : /usr/bin/
File Upload :
Current File : //usr/bin/sun-audio-file

#!/bin/sh
# This file Copyright (c) 1992 Z-Code Software Corp.
# Permission to use, copy, modify, and distribute this material
# for any purpose and without fee is hereby granted, provided
# that the above copyright notice and this permission notice
# appear in all copies, and that the name of Z-Code Software not
# be used in advertising or publicity pertaining to this
# material without the specific, prior written permission
# of an authorized representative of Z-Code.  Z-CODE SOFTWARE
# MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY
# OF THIS MATERIAL FOR ANY PURPOSE.  IT IS PROVIDED "AS IS",
# WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.

# Brought into line with metamail 2.7 beta release Csh version
#    Dave Shield	February 1994

if [ -z "$METAMAIL_TMPDIR" ]
then METAMAIL_TMPDIR=/tmp
fi

if [ -n "`type -p mktemp`" ] ; then
	fn=`mktemp ${METAMAIL_TMPDIR}/audio-file.$$.XXXXXX` || exit 1
else
	fn=${METAMAIL_TMPDIR}/audio-file.$$
	rm -f $fn
fi
cd $METAMAIL_TMPDIR
uudecode -o $fn < "$1"
audiotool $fn
rm -f $fn $1

ACC SHELL 2018