Adds rpm specs to migration repo
This commit is contained in:
1 parent
acee7b8766
commit
7f035543e2
145 files changed
+13982
No files matched your search
+64
@@ -0,0 +1,64 @@
|
||||
|
||||
#!/bin/sh
|
||||
#
|
||||
# @RDE_HEADER@
|
||||
# $Id$
|
||||
# $HeadURL$
|
||||
# $Author$
|
||||
#
|
||||
|
||||
|
||||
me=`basename "$0"`
|
||||
searchPath="."
|
||||
|
||||
if [ $# -ne 2 ]
|
||||
then
|
||||
searchPath=$1
|
||||
fi;
|
||||
|
||||
echo "START '$me' at path= '${searchPath}' ..."
|
||||
|
||||
#REF_MOD_AP_0001
|
||||
|
||||
#BDI_P_1
|
||||
#CAMERA_IN_AP_1 CAMERA_OUT_AP_1
|
||||
#IPS_OUT_AP_1 IPS_IN_AP_1
|
||||
#ZEG_MOD_AP_1
|
||||
|
||||
#undest_room_201
|
||||
#SW_room_201
|
||||
#floor_1
|
||||
#xargs grep -wo 'IPS_IN_AP_[[:digit:]]\{1\}' | sort
|
||||
|
||||
|
||||
REGEXS="${REGEXS} REF_MOD_AP_[0-9]\{4\}"
|
||||
|
||||
REGEXS="${REGEXS} BDI_P_[0-9]\{1\} BDI_P_[0-9]\{2\}"
|
||||
|
||||
REGEXS="${REGEXS} CAMERA_IN_AP_[0-9]\{1\} CAMERA_IN_AP_[0-9]\{2\}"
|
||||
REGEXS="${REGEXS} CAMERA_OUT_AP_[0-9]\{1\} CAMERA_OUT_AP_[0-9]\{2\}"
|
||||
|
||||
REGEXS="${REGEXS} IPS_IN_AP_[0-9]\{1\} IPS_IN_AP_[0-9]\{2\}"
|
||||
REGEXS="${REGEXS} IPS_OUT_AP_[0-9]\{1\} IPS_OUT_AP_[0-9]\{2\}"
|
||||
|
||||
REGEXS="${REGEXS} ZEG_AP_[0-9]\{1\} ZEG_[0-9]\{2\}"
|
||||
|
||||
REGEXS="${REGEXS} floor_[0-9]\{1\} floor_[0-9]\{2\}"
|
||||
REGEXS="${REGEXS} undest_room_[0-9]\{3\}"
|
||||
REGEXS="${REGEXS} SW_room_[0-9]\{3\}"
|
||||
|
||||
|
||||
|
||||
|
||||
cnt=0;
|
||||
|
||||
for REGEX in ${REGEXS}
|
||||
do
|
||||
echo "---------------------------------------"
|
||||
((cnt=cnt+1))
|
||||
echo " check using regex_${cnt}: '${REGEX}' --->"
|
||||
find ${searchPath} -iname "*.flt.xml" | xargs grep -wo ${REGEX} | sort | uniq -cd
|
||||
echo
|
||||
done
|
||||
|
||||
echo "END '$me' ..."
|
||||
Reference in new issue
Block a user