PageRenderTime 14ms CodeModel.GetById 10ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
3head -n 4 < POTFILES.in > POTFILES.in.tmp
4grep -v "^[\\[#]" < POTFILES.in | sort >> POTFILES.in.tmp
5mv POTFILES.in.tmp POTFILES.in
6