source: freemind/trunk/fuentes/freemind/check_for_duplicate_resources.sh @ 68

Last change on this file since 68 was 68, checked in by jrpelegrina, 4 years ago

First release to Xenial

File size: 300 bytes
Line 
1#!/bin/bash
2for s in Res*.properties ; do 
3#    echo ">>>>>>>>>>>>>>> Start $s" ;
4    for g in $(cat $s | cut -d '=' -f 1 | grep -v "^\\s*#" | grep -v "^\\s*$" | sort | uniq -d) ; do 
5        echo "=======    File: $s, key $g"
6        grep -n "^$g\\s*=" $s
7    done ; 
8#    echo "<<<<<<<<<<<<<<< End $s" ;
9done 
Note: See TracBrowser for help on using the repository browser.