Merge remote-tracking branch 'origin/release-v4.5'
[WRF.git] / tools / link_codebase_to_wrfbrowser
blobff1b0076a03b832762c651682d637aced4bac36b
1 #!/bin/csh
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
5 # very hard coded -- expects wrf browser to live at:
7 cd /users/michalak/wrfbrowser/html_code
9 foreach f ( */*.html )
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
13 /bin/mv foo $f
15 end