Project

General

Profile

1 70 aaronmk
#!/bin/bash
2
# Joins all *-VegX.csv to VegX-VegBank.csv
3
4
selfDir="$(dirname -- "$0")"
5
cd "$selfDir"
6
7
for map in *-VegX.*.csv; do
8
    type="${map%.csv}" # remove extension
9
    type="${type#*.}" # remove up to last "."
10
    ../scripts/util/join_maps "VegX-VegBank.$type.csv" <"$map" \
11 104 aaronmk
    >"${map/VegX/VegBank}"
12 70 aaronmk
done