Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,29 @@
|
||||
#!/bin/bash
|
||||
# Helper script to check presence of some rpms
|
||||
# $Id$
|
||||
# $HeadURL$
|
||||
# $Author$
|
||||
|
||||
|
||||
# Stand 2024
|
||||
|
||||
|
||||
echo "--- part 1";
|
||||
|
||||
# suche alle cpp file, mit 'getLogger'
|
||||
#find . -iname "*.cpp" | xargs grep getLogger
|
||||
|
||||
# ersetze a) getLogger durch @ b) entferne " c) entferne ) | nur das rechts vom @
|
||||
#find . -iname "*.cpp" | xargs grep getLogger | sed -e 's/getLogger(/@/g' -e 's/\"//g' -e 's/)//g' | cut -d "@" -f2
|
||||
|
||||
# sortiere und entferne doppelte:
|
||||
#find . -iname "*.cpp" | xargs grep getLogger | sed -e 's/getLogger(/@/g' -e 's/\"//g' -e 's/)//g' | cut -d "@" -f2 | sort -u
|
||||
|
||||
# prepend
|
||||
find . -iname "*.cpp" | xargs grep getLogger | sed -e 's/getLogger(/@/g' -e 's/\"//g' -e 's/)//g' | cut -d "@" -f2 | sort -u | awk '{print "#log4j.logger.AES." $0 "=DEBUG"}'
|
||||
|
||||
|
||||
echo "--- part 2";
|
||||
|
||||
find . -iname "*.cpp" | xargs grep ": BaseEdit" | sed -e 's/QLatin1String(/@/g' -e 's/QStringLiteral(/@/g' -e 's/\")/@/g' -e 's/\"//g' | cut -d "@" -f2 | sort -u | awk '{print "#log4j.logger.AES." $0 "=DEBUG"}'
|
||||
|
||||
Reference in new issue
Block a user