#! /bin/csh
#
# ssmuse-csh
#
# csh front-end to __ssmuse

if ( ${#argv} > 0 ) then
	if ( "${argv[1]}" == "-h" || "${argv[1]}" == "--help" ) then
		#shift
		__ssmuse csh -h
	else if ( "${argv[1]}" == "--noeval" ) then
		shift
		__ssmuse csh $*
	else
		set __ssmuse_tmpfile=`__ssmuse csh --tmp $*`
		if ( -r "${__ssmuse_tmpfile}" ) then
			source ${__ssmuse_tmpfile}
			/bin/rm -f ${__ssmuse_tmpfile}
		endif
	endif
endif
