Changeset 2445 in MondoRescue for branches/2.2.10/tools/quality
- Timestamp:
- Oct 2, 2009, 4:30:07 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/tools/quality
r2391 r2445 31 31 echo "mondorescue $s usage : " 32 32 tot=0 33 for i in `find . -name '*.c' -o -name '*.h' | egrep -v '\.svn|/\* |monitas|mindi-busybox' | xargs grep -r -c -w $s | egrep -v ":0$"`; do33 for i in `find . -name '*.c' -o -name '*.h' | egrep -v '\.svn|/\*' | xargs grep -r -c -w $s | egrep -v ":0$"`; do 34 34 echo " === $i" 35 35 ((tot=$tot+`echo $i | cut -d: -f2`)) … … 40 40 echo " " 41 41 echo "Qualimetry: " 42 pbg -w asprintf | grep -vE ' monitas|mindi-busybox|quality|/\*|asprintf\(&' > /tmp/mondo.quality42 pbg -w asprintf | grep -vE 'quality|/\*|asprintf\(&' > /tmp/mondo.quality 43 43 cat /tmp/mondo.quality 44 44 echo "mondorescue uses : `cat /tmp/mondo.quality | wc -l` asprintf without &" 45 pbg -w getline | grep -vE ' monitas|mindi-busybox|quality|/\*|getline\(&' > /tmp/mondo.quality45 pbg -w getline | grep -vE 'quality|/\*|getline\(&' > /tmp/mondo.quality 46 46 cat /tmp/mondo.quality 47 47 echo "mondorescue uses : `cat /tmp/mondo.quality | wc -l` getline without &"
Note:
See TracChangeset
for help on using the changeset viewer.