Files
evolution/my-evolution/Location-translation-script
Iain Holmes bdb095ab69 Merging patches from 1-0-branch
svn path=/trunk/; revision=15109
2001-12-17 12:20:19 +00:00

9 lines
313 B
Bash
Executable File

#!/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