blob: 77c4ddba88c85d036dc313d09bda46584417ee27 (
plain) (
tree)
|
|
#!/bin/bash
grep name Locations | cut -b 6- > Locations.h
grep loc Locations | sed "s/ .... ...... ...$//"| sed "s/ .... :...... ...$//" | cut -d = -f 2 | sed "s/\\\\//g" >> Locations.h
sed -e "s/^/N_(\"/" -e "s/$/\")/" Locations.h > Locations.h.tmp
sort Locations.h.tmp | uniq > Locations.h
rm Locations.h.tmp
|