File:  [LON-CAPA] / doc / homework / Attic / temp.tcl
Revision 1.1: download - view: text, annotated - select for diffs
Tue Jun 20 19:27:56 2000 UTC (23 years, 10 months ago) by albertel
Branches: MAIN
CVS tags: version_0_4, stable_2002_spring, stable_2002_july, stable_2002_april, stable_2001_fall, STABLE, HEAD
-adding homework documentation

set tag ""
while {1} {
	set aline [gets file0]
	if {[eof file0]} { exit}
	regsub -all {<tag>} $aline {<b>\&lt;} aline
	regsub -all {</tag>} $aline {\&gt;</b>} aline
	regsub -all {<arg>} $aline {<i>} aline
	regsub -all {</arg>} $aline {</i>} aline
	puts $aline
}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>