/[MITgcm]/MITgcm_contrib/heimbach/OpenAD/code_shallow_openad/cb2m1.awk
ViewVC logotype

Annotation of /MITgcm_contrib/heimbach/OpenAD/code_shallow_openad/cb2m1.awk

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


Revision 1.3 - (hide annotations) (download)
Thu Apr 12 04:57:34 2007 UTC (19 years, 7 months ago) by utke
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
FILE REMOVED
replaced scripts

1 heimbach 1.1 BEGIN { commonDecl = 0}
2     /^ .*/ {commonDecl = 0 }
3 utke 1.2 /^[^ ]/ && !/^#ifdef / && !/^#endif/ && !/^#if / && !/^#else/ {commonDecl = 0 }
4 heimbach 1.1 /^ *COMMON/ || /^ *common/ { commonDecl = 1 }
5     / &/ { if (commonDecl != 1) {print} }
6 utke 1.2 /^#ifdef / || /^#endif/ || /^#if / || /^#else/ { if (commonDecl == 1) {print} }
7 heimbach 1.1 {if (commonDecl ==0 ) print }
8     END {}

  ViewVC Help
Powered by ViewVC 1.1.22