#! /bin/csh -f 

#set variable
	set nors = $1
	set fn = $2

#find directory 
	if ( $fn !="" ) then 
		cd $fn	
  	endif

#execution
	if ( -e x04 && -e x05 && -e f09 && -e f39 ) then

		if ( $nors == "n" || $nors == "N" ) then
			time $dvdir/object/nxps.exe 
		else if ($nors == "s" || $nors == "S" ) then
			time $dvdir/object/sxps.exe 
		else if ($nors == "w" || $nors == "W" ) then
			time $dvdir/object/wxps.exe 
		else if ($nors == "u" || $nors == "U" ) then
			time $dvdir/object/uxps.exe 
		else if ($nors == "g" || $nors == "G" ) then
			time $dvdir/object/gxps.exe 
		else if ($nors == "h" || $nors == "H" ) then
			time $dvdir/object/hxps.exe 
		else if ($nors == "i" || $nors == "I" ) then
			time $dvdir/object/ixps.exe 
		else if ($nors == "j" || $nors == "J" ) then
			time $dvdir/object/jxps.exe 
		else 
			echo  "xps [n/s/w/u/g/h/i/j] (filename)"
			exit
		endif

		$dvdir/object/xpsplt.exe > p06
		rm x02
		rm x06
		rm x35
		rm p06
		cd   
	else
		echo  " x04 or x05 or f09 or f39  not exist "
		exit
	endif
