/[MITgcm]/MITgcm/verification/OpenAD/code_ad/insertTemplateDir.bash
ViewVC logotype

Diff of /MITgcm/verification/OpenAD/code_ad/insertTemplateDir.bash

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

revision 1.1 by utke, Wed Nov 30 21:33:41 2005 UTC revision 1.2 by utke, Sun Dec 4 06:40:56 2005 UTC
# Line 4  for i in `grep '^      SUBROUTINE ' $1 | Line 4  for i in `grep '^      SUBROUTINE ' $1 |
4  do  do
5    # extract the name    # extract the name
6    srName=${i%%\(*}    srName=${i%%\(*}
   echo "doing $srName"  
7    echo "/^      SUBROUTINE $srName/i\\" >> temp.sed    echo "/^      SUBROUTINE $srName/i\\" >> temp.sed
8    if [ "$srName" = "the_first_level_loop" -o "$srName" = "the_second_level_loop" -o "$srName" = "the_third_level_loop" -o "$srName" = "the_fourth_level_loop" ]    if [ "$srName" = "the_first_level_loop" -o "$srName" = "the_second_level_loop" -o "$srName" = "the_third_level_loop" -o "$srName" = "the_fourth_level_loop" ]
9    then    then

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.22