#! /bin/csh -f 

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

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

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

		if ( $nors == "n" || $nors == "N" ) then
			time $dvdir/object/nwavnum.exe
		else if ($nors == "s" || $nors == "S" ) then
			time $dvdir/object/swavnum.exe
		else if ($nors == "w" || $nors == "W" ) then
			time $dvdir/object/wwavnum.exe
		else if ($nors == "u" || $nors == "U" ) then
			time $dvdir/object/uwavnum.exe
		else if ($nors == "g" || $nors == "G" ) then
			time $dvdir/object/gwavnum.exe
		else if ($nors == "h" || $nors == "H" ) then
			time $dvdir/object/hwavnum.exe
		else if ($nors == "i" || $nors == "I" ) then
			time $dvdir/object/iwavnum.exe
		else if ($nors == "j" || $nors == "J" ) then
			time $dvdir/object/jwavnum.exe
		else 
			echo  "wavnum [n/s/w/u/g/h/i/j] (filename)"
			exit
		endif

	else
		echo  " f09 or f39  not exist "
		exit
	endif
