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

Contents of /MITgcm_contrib/heimbach/OpenAD/code_ad_moc/cb2mGetHeaders.csh

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


Revision 1.2 - (show annotations) (download) (as text)
Tue Nov 18 17:33:10 2008 UTC (16 years, 8 months ago) by utke
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
File MIME type: application/x-csh
FILE REMOVED
no longer needed here

1 #!/bin/csh -f
2 set file=${1:r}
3 set awkScript=${2}
4 awk -f ${awkScript} ${file}.h | grep -v mpif.h > ${file}.h_temp
5 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 echo ' USE '${file}'_mod' >> ${file}.h_temp
12 mv ${file}.h_temp ${file}_mod.h

  ViewVC Help
Powered by ViewVC 1.1.22