Sun公司的<J2EE Tutorial>范例代码

源代码在线查看: runstylizer

软件大小: 2699 K
上传用户: liuhong22008
关键词: Tutorial Sun EE lt
下载地址: 免注册下载 普通下载 VIP

相关代码

				#!/bin/csh				#				# Use the fast start (-f) option on the run command so that it doesn't				# read the .cshrc and overwrite the path.								source ../../env.cfg								set MODE = "echo"				if ($1 == "-q") then				   set MODE = "quiet"				   shift				endif								if ("$3" == "" || $4 != "") then				  echo Usage: 				  echo "    runStylizer  {-q}   "				  exit				endif								echo Running Stylizer: $*				rm -f ../samples/$3.html				$BIN/run  Stylizer ../samples/$1 ../samples/$2  >& ../samples/$3.html								# The result of running stylizer is an HTML file. 				# Leave it that way, and let users view it normally.				# But convert the HTML to preformatted text, as well,				# to make it easy to insert into the HTML page. 				rm -f ../samples/${3}-src.html				text2html ../samples/$3.html > ../samples/${3}-src.html								if ($MODE == "echo") then				   more ../samples/$3.html				endif											

相关资源