/po/sort-potfiles
http://github.com/hbons/SparkleShare · #! · 6 lines · 4 code · 2 blank · 0 comment · 0 complexity · a3512eefb36e9038700c18508e8ce388 MD5 · raw file
- #!/bin/bash
- head -n 4 < POTFILES.in > POTFILES.in.tmp
- grep -v "^[\\[#]" < POTFILES.in | sort >> POTFILES.in.tmp
- mv POTFILES.in.tmp POTFILES.in