forked from Unidata/awips2-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
modelNames.sh
executable file
·34 lines (34 loc) · 1.99 KB
/
modelNames.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash
git grep -l 'RUC236' ${1} | xargs sed -i 's/RUC236/RAP40/g'
git grep -l 'RUC40' ${1} | xargs sed -i 's/RUC40/RAP40/g'
git grep -l 'ruc236' ${1} | xargs sed -i 's/ruc236/rap40/g'
git grep -l 'RUC130' ${1} | xargs sed -i 's/RUC130/RAP13/g'
git grep -l 'RUC13' ${1} | xargs sed -i 's/RUC13/RAP13/g'
git grep -l 'RUC80' ${1} | xargs sed -i 's/RUC80/RAP40/g'
git grep -l 'GFS211' ${1} | xargs sed -i 's/GFS211/GFS80/g'
git grep -l 'GFS213' ${1} | xargs sed -i 's/GFS213/GFS95/g'
git grep -l 'gfs213' ${1} | xargs sed -i 's/gfs213/gfs95/g'
git grep -l 'GFS212' ${1} | xargs sed -i 's/GFS212/GFS40/g'
git grep -l 'GFS217' ${1} | xargs sed -i 's/GFS217/AK-GFS22/g'
git grep -l 'GFS215' ${1} | xargs sed -i 's/GFS215/GFS20/g'
git grep -l 'GFS20-PRICO' ${1} | xargs sed -i 's/GFS20-PRICO/PR-GFS/g'
git grep -l 'PR-GFS20' ${1} | xargs sed -i 's/PR-GFS20/PR-GFS/g'
git grep -l 'DGEX185' ${1} | xargs sed -i 's/DGEX185/DGEX/g'
git grep -l 'DGEX186' ${1} | xargs sed -i 's/DGEX186/AK-DGEX/g'
git grep -l 'GWW233' ${1} | xargs sed -i 's/GWW233/WaveWatch/g'
git grep -l 'ETA207' ${1} | xargs sed -i 's/ETA207/AK-NAM95/g'
git grep -l 'ETA212' ${1} | xargs sed -i 's/ETA212/NAM40/g'
git grep -l 'ETA218' ${1} | xargs sed -i 's/ETA218/NAM12/g'
git grep -l 'eta218' ${1} | xargs sed -i 's/eta218/NAM12/g'
git grep -l 'NAM227' ${1} | xargs sed -i 's/NAM227/NAM5/g'
git grep -l 'mesoEta212' ${1} | xargs sed -i 's/mesoEta212/NAM40/g'
git grep -l 'Grid/gridded data' ${1} | xargs sed -i 's/Grid/\gridded data/Grid/Gridded Data/g'
git grep -l 'mesoEta216' ${1} | xargs sed -i 's/mesoEta216/AK-NAM45/g'
git grep -l 'mesoEta217' ${1} | xargs sed -i 's/mesoEta217/AK-NAM22/g'
git grep -l 'ETA242' ${1} | xargs sed -i 's/ETA242/AK-NAM11/g'
git grep -l 'mesoEta215' ${1} | xargs sed -i 's/mesoEta215/NAM20/g'
git grep -l 'mesoEta237' ${1} | xargs sed -i 's/mesoEta237/PR-NAM/g'
# add more
#git grep -l '' ${1} | xargs sed -i 's///g'
#git grep -l '' ${1} | xargs sed -i 's///g'
#git grep -l '' ${1} | xargs sed -i 's///g'