/[MITgcm]/manual/tools/fix_docref_target.sh
ViewVC logotype

Contents of /manual/tools/fix_docref_target.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Thu Feb 28 19:30:25 2002 UTC (22 years, 1 month ago) by cnh
Branch: MAIN
CVS Tags: checkpoint57l_post, checkpoint01, HEAD
File MIME type: application/x-sh
Adding extra online manual customisation tools

1 #!/bin/csh -f
2 #
3 # \hthtmllink in latex won't allow target= modifier.
4 # So we add it ourselves here, to all the docref
5 # hyperlinks. The "docref" links are the links to
6 # browseable code tree. They have the format
7 # <A HREF="somepath_docref.html">
8 # we chaneg them to
9 # <A HREF="somepath_docref.html" target=idontexist>
10 #
11 foreach f ( node*.html )
12
13 cat $f | \
14 sed s'/docref\.html\"/docref\.html\" target=idontexist/' > $f.tmp
15 \cp $f.tmp $f
16 \rm $f.tmp
17 end

  ViewVC Help
Powered by ViewVC 1.1.22