/[MITgcm]/manual/tools/genredir.sh
ViewVC logotype

Contents of /manual/tools/genredir.sh

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


Revision 1.2 - (show annotations) (download) (as text)
Wed Mar 24 22:35:28 2004 UTC (20 years, 1 month ago) by afe
Branch: MAIN
Changes since 1.1: +3 -2 lines
File MIME type: application/x-sh
o making link redirection fit better into the wider world

1 #!/bin/sh
2
3 MAPPING="mapping.txt"
4
5 # these are not quite recompiled oddballs
6 # afe: now done properly
7 #echo "manual http://mitgcm.org/sealion/" >> $MAPPING
8 #echo "hydrodynamics http://paoc.mit.edu/cmi/development/hydrodynamics.htm" >> $MAPPING
9
10 grep -r CMIREDIR *.html | \
11 awk 'BEGIN { FS = ":" } ;
12 { HTMLPATH = "http://mitgcm.org/sealion/online_documents/" } ;
13 { print $3 " " HTMLPATH $1}' >> $MAPPING
14

  ViewVC Help
Powered by ViewVC 1.1.22