/po/sort-potfiles

http://github.com/hbons/SparkleShare · #! · 6 lines · 4 code · 2 blank · 0 comment · 0 complexity · a3512eefb36e9038700c18508e8ce388 MD5 · raw file

  1. #!/bin/bash
  2. head -n 4 < POTFILES.in > POTFILES.in.tmp
  3. grep -v "^[\\[#]" < POTFILES.in | sort >> POTFILES.in.tmp
  4. mv POTFILES.in.tmp POTFILES.in