#!/bin/csh #sed 's/\(\)\([a-zA-Z0-9_][a-zA-Z0-9_]*\)\(<\/font>\)/\1 \2 <\/a> \3 /' frame/module_configure.F.html # very hard coded -- expects wrf browser to live at: cd /users/michalak/wrfbrowser/html_code foreach f ( */*.html ) sed 's/\(\)\([a-zA-Z0-9_][a-zA-Z0-9_]*\)\(<\/font>\)/\1 \2 (docs)<\/a> \3 /' $f > foo /bin/mv foo $f end