Text Search Utility for Linux

Beta 3 uses ifdef to make Linux skip code that is for windows. Future versions will have more Linux code and will be split into modules.

The below is for versions of Text Search older than version Beta2


The only thing I had to change was the line to include the dir.h file. On my system, I had to change it to

#include <sys/dir.h>

Something else that I changed was on line 156, and line 161. Those are the lines that print where the search was succsessful, or was not successful. I changed

%s\\%s
to
%s/%s

It isn't necessary to change this, but it will print a fowardslash instead of a backslash which makes the program look better when running in Linux.

send questions, comments, ect. to110983@lycos.com

Back