ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/scripts/DrDOC.sh
Revision: 1.2
Committed: Mon Nov 18 17:50:34 2002 UTC (22 years, 6 months ago) by sashby
Content type: application/x-sh
Branch: MAIN
CVS Tags: V1_0_3-p4, forV1_1_0, v103_xml_071106, V1_0_3-p3, V1_0_3-p2, V110p2, V110p1, V1_0_4p1, V1_0_3-p1, V1_0_3, V1_0_2, V1_0_2_p1, v102p1, V1_0_1, V1_0_0, V1_pre0, V0_19_7
Branch point for: v103_with_xml, v103_branch, SCRAM_V1_BRANCH
Changes since 1.1: +1 -0 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 #!/bin/ksh
2 #===========================================================================#
3 # NAME: DrDOC.sh #
4 #===========================================================================#
5 # #
6 # DATE: Mon Nov 18 16:26:18 2002 #
7 # #
8 # AUTHOR: Shaun Ashby #
9 # #
10 # MOD LOG: #
11 # #
12 # #
13 #===========================================================================#
14 # DESCRIPTION: Latex2HTML doesn't produce docs the way I want them... #
15 #===========================================================================#
16
17 DOCDIR=$1
18
19 if [[ $DOCDIR == "" ]]; then
20 exit 1
21 fi
22
23 cd $DOCDIR
24
25 echo "Creating nice background color for all HTML pages: "
26
27 for file in `find . -name "*.html"`; do
28 echo "Processing $file"
29 mv $file $file.orig
30 cat $file.orig | sed -e 's/<BODY/<BODY bgcolor=\"beige\"/g' > $file
31 rm -f *.orig
32 echo "done"
33 done