Introduction
Introduction Statistics Contact Development Disclaimer Help
gcov2text.sh - sfeed_tests - sfeed tests and RSS and Atom files
git clone git://git.codemadness.org/sfeed_tests
Log
Files
Refs
README
LICENSE
---
gcov2text.sh (361B)
---
1 #!/bin/sh
2 # highlight/color covered source-codes lines from gcov to text.
3 #
4 # for gcov with gcc use:
5 # make CC=gcc CFLAGS="-fprofile-arcs -ftest-coverage" LDFLAGS="-fprofile…
6
7 awk '
8 function encode(s) {
9 return s;
10 }
11 /^ -:/ {
12 print encode($0);
13 next;
14 }
15 /^ #####:/ {
16 print "\x1b[7m" encode($0) "\x1b[0m";
17 next;
18 }
19 {
20 print encode($0);
21 next;
22 }
23 '
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.