mirror of
https://bitbucket.org/smil3y/katana.git
synced 2025-02-23 18:32:47 +00:00
cleanpo.sh: make output more usefull by printing only single instance of pot occurance
This commit is contained in:
parent
7be9b7c60b
commit
54effb3350
1 changed files with 7 additions and 1 deletions
|
@ -23,6 +23,12 @@ done
|
|||
# echo $regex
|
||||
|
||||
# do not remove for now!
|
||||
find "kde-l10n" -name '*.po' $regex -exec echo {} +
|
||||
# find "kde-l10n" -name '*.po' $regex -delete
|
||||
|
||||
result=""
|
||||
for f in $(find "kde-l10n" -name '*.po' $regex);do
|
||||
result+="$(basename $f)\n"
|
||||
done
|
||||
echo -e "$result" | uniq -u
|
||||
|
||||
echo "All done"
|
||||
|
|
Loading…
Add table
Reference in a new issue