endswith v1.2
the next version of the endswith program which i had started a few weeks ago , is out, this release contains a library function implementation of the endsWith program called iendswith() , a header file has been included in the source code, including this header file and after compiling the library , the function iendwith can be used in regular C programs , ........
unlike the actuall endwith binary, iendswith only returns the number of matches for the given pattern in the given directory ..... i am presently working on a library function implementation which could return the matching file names in the form of a string stype structure, .... but that needs some work,... the included library function is just a rework of the original program. More changes have actually gone into the Makefile , just running make compiles only the binary as usual . Running 'make library' compiles the library function and creates the endswith.a library .
A test driver function has also been included to check the functionality of the library , running 'make test' will compile this function and the created binary test_iendswith can be used then to test the functioning. Documentation is one thing that is still to be added and of course , providing an install option also is a good thing for the next version . The source code can be found at
http://www.filekeeper.org/download/eerpini/endswith-1.2.tar.gz
unlike the actuall endwith binary, iendswith only returns the number of matches for the given pattern in the given directory ..... i am presently working on a library function implementation which could return the matching file names in the form of a string stype structure, .... but that needs some work,... the included library function is just a rework of the original program. More changes have actually gone into the Makefile , just running make compiles only the binary as usual . Running 'make library' compiles the library function and creates the endswith.a library .
A test driver function has also been included to check the functionality of the library , running 'make test' will compile this function and the created binary test_iendswith can be used then to test the functioning. Documentation is one thing that is still to be added and of course , providing an install option also is a good thing for the next version . The source code can be found at
http://www.filekeeper.org/download/eerpini/endswith-1.2.tar.gz
Comments