Merged older cs.po file with newest pot file.
[gliv/czech_localization.git] / tools / gperf2zsh.sh
blob46d62ed01b544cc98d2b5a566bb911c8192c4203
1 #!/bin/sh
3 [ "$#" = "1" ] || exit 1
5 FORMATS_FILE=$1
7 DECOMP_EXTS=$(grep LOADER_DECOMP $FORMATS_FILE | cut -d, -f1)
8 NORMAL_EXTS=$(grep -E 'LOADER_(PIXBUF|DOT_GLIV)' $FORMATS_FILE | cut -d, -f1)
9 EXTS=$NORMAL_EXTS
11 for d in $DECOMP_EXTS
12 do for n in $NORMAL_EXTS
13 do EXTS="$EXTS $n\.$d"
14 done
15 done
17 echo -n "'*:images:_files -/ -g \*.\(\#i\)\("
18 echo -n $EXTS | sed 's# #\\|#g'
19 echo -n "\)'"
20 echo