Subversion Repositories oidplus

Rev

Rev 360 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. #!/bin/bash
  2.  
  3. # OIDplus 2.0
  4. # Copyright 2019 - 2021 Daniel Marschall, ViaThinkSoft
  5. #
  6. # Licensed under the Apache License, Version 2.0 (the "License");
  7. # you may not use this file except in compliance with the License.
  8. # You may obtain a copy of the License at
  9. #
  10. #     http://www.apache.org/licenses/LICENSE-2.0
  11. #
  12. # Unless required by applicable law or agreed to in writing, software
  13. # distributed under the License is distributed on an "AS IS" BASIS,
  14. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. # See the License for the specific language governing permissions and
  16. # limitations under the License.
  17.  
  18. DIR=$( dirname "$0" )
  19.  
  20. cd "$DIR/../../"
  21.  
  22. grep -rE "logger\\(\\)\\->log\\(" | grep -v ".svn" | grep -E "_L\\("
  23. grep -rE "config\\(\\)\\->getValue\\(" | grep -v ".svn" | grep -E "_L\\("
  24. grep -rE "config\\(\\)\\->prepareConfigKey\\(" | grep -v ".svn" | grep -E "_L\\("
  25. grep -rE "baseConfig\\(\\)\\->getValue\\(" | grep -v ".svn" | grep -E "_L\\("
  26. grep -rE "query\\(" | grep -v ".svn" | grep -E "_L\\("
  27.  
  28. # JS
  29. #grep -rE ":\s*_L\\(" | grep -v ".svn" | grep -v "3p/" | grep -v "example_js.html"
  30. grep -irE "alert\\(\"" | grep -v ".svn" | grep -v "3p/" | grep -v "example_js.html" | grep -v "anti_xss.inc.php"
  31. grep -irE "alert\\('" | grep -v ".svn" | grep -v "3p/" | grep -v "example_js.html" | grep -v "anti_xss.inc.php"
  32.