source: trunk/WRF.COMMON/WRFV2/tools/link_codebase_to_wrfbrowser @ 3547

Last change on this file since 3547 was 11, checked in by aslmd, 14 years ago

spiga@svn-planeto:ajoute le modele meso-echelle martien

  • Property svn:executable set to *
File size: 580 bytes
Line 
1#!/bin/csh
2
3#sed 's/\(<font color=#cc0000>\)\([a-zA-Z0-9_][a-zA-Z0-9_]*\)\(<\/font>\)/\1<href=\" \2 \"> \2 <\/a> \3 /' frame/module_configure.F.html
4
5# very hard coded -- expects wrf browser to live at:
6
7  cd /users/michalak/wrfbrowser/html_code
8
9foreach f ( */*.html )
10
11  sed 's/\(<font color=#cc0000>\)\([a-zA-Z0-9_][a-zA-Z0-9_]*\)\(<\/font>\)/\1 \2 <a href=\"http:\/\/www.mmm.ucar.edu\/wrf\/WG2\/WRFV2\/tools\/code_dbase\/\2\.html" target="_blank"><img HEIGHT=20 WIDTH=20 src="http:\/\/www.mmm.ucar.edu\/wrf\/WG2\/manpage.gif">(docs)<\/a> \3 /' $f > foo
12
13  /bin/mv foo $f
14
15end
Note: See TracBrowser for help on using the repository browser.