I have a file containing a list of file names:
esocket.c
esocket.h
dockwin.cpp
dockwin.h
makefile
getblob
.
etc...
I am looking for a regular expression (preferably unix syntax) to do the following:
- get lines that have .c, cpp and .h files
- get lines that don't have a file extension.