source: trunk/WRF.COMMON/WRFV3/tools/link_codebase_to_wrfbrowser @ 3567

Last change on this file since 3567 was 2759, checked in by aslmd, 2 years ago

adding unmodified code from WRFV3.0.1.1, expurged from useless data +1M size

  • 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.