📄 runstylizer
字号:
#!/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.cfgset MODE = "echo"if ($1 == "-q") then set MODE = "quiet" shiftendifif ("$3" == "" || $4 != "") then echo Usage: echo " runStylizer {-q} <stylesheet> <xmlFile> <outputFile>" exitendifecho 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.htmltext2html ../samples/$3.html > ../samples/${3}-src.htmlif ($MODE == "echo") then more ../samples/$3.htmlendif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -