Blame view

3rdparty/jrtplib-3.11.2/src/errcodecommand 481 Bytes
3d2ab595   Hu Chunming   支持gb28181
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  #!/bin/bash
  for i in `cat rtperrors.h | cut -f 2 -d " " | cut -f 1 |grep -e "^ERR"`; do
  	echo $i
  	BLA=`grep $i rt*.cpp rt*.h extratransmitters/rt*.h extratransmitters/rt*.cpp |cut -f 1 -d ":"|sort|uniq`
  	gotdesc=N
  	if [ "BLA$BLA" != BLA ] ; then 
  		for j in $BLA ; do 
  			if [ $j != "rtperrors.h" ] ; then 
  				echo -e "\t$j" ; 
  				if [ $j = "rtperrors.cpp" ] ; then
  					gotdesc=Y
  				fi
  			fi 
  		done 
  	fi 
  	if [ $gotdesc = "N" ] ; then
  		echo -e "\tNEEDS DESCRIPTION"
  	fi
  done