ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/scripts/DrDOC.sh
Revision: 1.1
Committed: Mon Nov 18 16:08:18 2002 UTC (22 years, 5 months ago) by sashby
Content type: application/x-sh
Branch: MAIN
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 sashby 1.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     echo "done"
32     done