/[MITgcm]/MITgcm_contrib/heimbach/OpenAD/code_regress/cb2mGetHeaders.csh
ViewVC logotype

Annotation of /MITgcm_contrib/heimbach/OpenAD/code_regress/cb2mGetHeaders.csh

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


Revision 1.4 - (hide annotations) (download) (as text)
Mon Oct 6 18:41:48 2008 UTC (16 years, 10 months ago) by utke
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +0 -0 lines
File MIME type: application/x-csh
FILE REMOVED
files moved to generic OAD_support

1 utke 1.1 #!/bin/csh -f
2     set file=${1:r}
3 utke 1.2 set awkScript=${2}
4 utke 1.3 awk -f ${awkScript} ${file}.h | grep -v mpif.h > ${file}.h_temp
5 utke 1.2 shift
6     shift
7     foreach name ($*)
8     cat ${file}.h_temp | grep -v ${name}.h > ${file}.h_t1
9     mv ${file}.h_t1 ${file}.h_temp
10     end
11 utke 1.1 echo ' USE '${file}'_mod' >> ${file}.h_temp
12     mv ${file}.h_temp ${file}_mod.h

  ViewVC Help
Powered by ViewVC 1.1.22