Relocate and redefine usb_mode enum
[platform/core/appfw/vconf-internal-keys.git] / check_dup.sh
1 #!/bin/bash
2 #--------------------------------------------------------------------
3 #./check_dup.sh > ~/test.txt
4 #cat ~/test.txt | sort > ~/test1.txt
5 #cat ~/test.txt | sort -u > ~/test2.txt
6 #vimdiff ~/test1.txt ~/test2.txt
7 #--------------------------------------------------------------------
8 filelist=`ls ./data/*.xml`
9
10 for file in $filelist
11 do xmlstarlet sel -t -v "/vconfkeylists/vconfkey/@name" $file | sed 's/^ *//; s/ *$//; /^$/d'
12 done
13
14