#!/bin/sh
grep -r -l --include *.c --include *.h . > filelist
while read file; do
OUTPUT=`pmccabe -F $file 2>/dev/null | sed -r -e "s/[\t\ ]+/,/g"|cut -d, -f1-5`
FILENAME=`echo $p | sed 's/.*\///'`
echo $OUTPUT","$FILENAME","$file
done < filelist
Tweets
My @Quora answer to How many hours does it usually take for programmers to build your software? http://t.co/eyB1ojw4Ew —
1 week 6 days ago
My @Quora answer to I can't stop thinking about my list of things I want to buy but don't actually need. What are so… http://t.co/dljRpud25Z —
1 week 6 days ago
My @Quora answer to What is computer science topic that has lots of room of creativity? http://t.co/39hG8OBCl6 —
1 week 6 days ago
My @Quora answer to I have elementary OS Luna and want to upgrade to Freya. My elementary is on its own partition an… http://t.co/bAkDqpAlJ4 —
2 weeks 1 day ago
My @Quora answer to How can I go from a 2.5 GPA student to a straight-A student? http://t.co/kz1Pu1zZwT —
2 weeks 1 day ago
My @Quora answer to Is it true that getting a Master's degree in computer science is only necessary if you want to b… http://t.co/MDAth6R8FD —
2 weeks 3 days ago
My @Quora answer to Why does Linus Torvalds hate everything except C? http://t.co/Rf0A2WjEPF —
2 weeks 3 days ago