/[MITgcm]/mitgcm.org/devel/buildweb/code-browser/MakeBrowseableMITGCM/create_name_links
ViewVC logotype

Annotation of /mitgcm.org/devel/buildweb/code-browser/MakeBrowseableMITGCM/create_name_links

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


Revision 1.1 - (hide annotations) (download)
Tue Aug 5 21:07:35 2003 UTC (21 years, 11 months ago) by edhill
Branch: MAIN
initial slow version

1 edhill 1.1 #!/bin/bash
2    
3     rm -rf byname
4     mkdir byname
5    
6     # Create soft-links for all of the files based on their names
7     for i in code/*
8     do
9     t1=`grep '^<TITLE' $i | sed -e 's/<TITLE>.\///g' | sed -e 's/<\/TITLE>//g'`
10     t2=`echo $t1 | sed -e 's/\//-/g'`
11     ( cd byname ; ln -s "../"$i $t2".html" )
12     done
13    
14    
15     # Create soft-links for all the symbols based on their names
16     for i in names/*
17     do
18     t1=`grep '^<TITLE' $i | cut -d '"' -f 2`
19     ( cd byname ; ln -s "../"$i $t1".html" )
20     done
21    

  ViewVC Help
Powered by ViewVC 1.1.22