I fear you will never get a solution that extracts all c-files, and no others... no matter how hard you work.
That's why you should spend more time with your friend first (as suggested by GrandFather):
In reply to Re^3: simple C checking script
by Ratazong
in thread S simple C checking script
by heatblazer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |