/[MITgcm]/manual/tools/make_mail_subjects.awk
ViewVC logotype

Annotation of /manual/tools/make_mail_subjects.awk

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


Revision 1.2 - (hide annotations) (download)
Thu Feb 28 19:30:25 2002 UTC (22 years, 2 months ago) by cnh
Branch: MAIN
Changes since 1.1: +8 -9 lines
Adding extra online manual customisation tools

1 cnh 1.1 BEGIN{nop=0}
2     /.*TITLE.*/{split($0,pt,">"); split(pt[2],ptt,"<")}
3     /<a href=mailto:.*/{
4 cnh 1.2 printf("
5     <script language="javascript">
6     <!--
7     document.write("<a href=\"mailto:support@mitgcm.org?subject=[MITgcm Manual] section " + document.title + "&body=Comments and questions on page " + document.URL + "\">");
8     // -->
9     </script>
10     \n");
11     nop=1}
12 cnh 1.1 {if ( nop ==0 ) print}
13     {if ( nop ==1 ) nop=0}
14     END{}

  ViewVC Help
Powered by ViewVC 1.1.22