3 find ${1:-.} -name '*.gcov' -print |
while read f
; do
9 f_basename
=${f%%.gcno\#\#*}.c
10 f_basename
=${f_basename##*/}
11 head -1 "$f" |
grep 'Source:/' > /dev
/null
&& continue
12 #bname=$(head -1 "$f" | grep 'Source:/' | cut -d: -f4)
13 dname
=$
(echo "$f"|cut
-d'#' -f1|
sed -e 's,/[^/]*$,/,')
15 1,1 s,:Source:.*$,:Source:${dname}${f_basename},