/[MITgcm]/MITgcm/tools/remove_comments_sed
ViewVC logotype

Annotation of /MITgcm/tools/remove_comments_sed

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


Revision 1.1 - (hide annotations) (download)
Fri Oct 9 11:14:03 2009 UTC (11 years, 7 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint62, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62l, checkpoint61w, checkpoint61z, checkpoint61x, checkpoint61y
add script to remove filesize of ad_input_code.f

1 mlosch 1.1 /^$/d
2     /^C\ /d
3     /^c\ /d
4     /^C-/d
5     /^c-/d
6     /^C\*/d
7     /^c\*/d
8     /^\*/d
9     /^C#/d
10     /^c#/d
11     /^CBOP/d
12     /^CEOP/d
13     /^CXXX/d
14     /^Ccnh/d
15     /^Cph/d
16     /^cph/d
17     /^CEH3/d
18     /^ceh3/d
19     /^CML/d
20     /^cml/d
21     /^Cml/d
22     /^cgg/d
23    
24     # This is a growing list of which comments lines to remove from a file
25     # in order to reduce the file size of ad_input_code.f. The first one is
26     # for empty lines.
27     # We want to remove all comments (=lines starting with C,c,*), but
28     # compiler directives also start with a C, in particular CADJ/cadj/Cadj/cADJ,
29     # and absolutely must remain in the file.

  ViewVC Help
Powered by ViewVC 1.1.22