Project home: http://sourceforge.net/projects/pdcore/
Website: http://pdcore.sourceforge.net/
If anyone here feels able to contribute, they would be most welcome.
If you pop over to my Git repo here -
http://github.com/mooseman
- you'll see a section called "pdutils". In amongst that pile of bits
and pieces is a directory called "grep1".
That's a grep implementation from OpenBSD - all of the files in that
directory are public domain.
( If you let me know how to do a digitally-signed email, I'll send an
email to you with the Unlicense text in it. )
That should be a useful start anyway... :)
Best wishes -
- Andy
patrick
On looking at the code again, I think it is possible that the grep I
mentioned may have been done mainly for the P..D. "mg" editor in
OpenBSD. Anyway, even if that were the case, the code may well prove
useful for a more general "grep" (and I guess grep works similarly
whether it is used in an editor or from the command-line).
- Andy
http://stevehanov.ca/blog/index.php?id=90
At the end of the post it mentions that Anthony Howe wrote an implementation of grep for the 1993 Obfuscated C Coding competition (which he won), and that he released an un-obfuscated version of the entry too. It links to this zip archive:
http://www.snert.com/Software/IOCCC/tools.95.zip
If you look in tools.95/ag/93/winner/agag.c, you'll find the regex implementation, released into the public domain :) Hope this helps,
.zv
Many thanks, Zachary. That looks as though it will save me some
considerable pain :-)
patrick
Wow, this seems a *very* good project. I'm testing it on NetBSD
(Alpha) and seems to be working fine. Great!
> If anyone here feels able to contribute, they would be most welcome.
I wish to be more proficient in C. However, I'll take the
opportunity to regain confidence in C by studying pdcore.
Cheers.
chr
--
SDF Public Access UNIX System - http://sdf.lonestar.org
Thanks -- that's great to hear.
> I wish to be more proficient in C. However, I'll take the
> opportunity to regain confidence in C by studying pdcore.
You are doing me a huge favour just by testing the code. I know that
there's not much there yet, but I'm going to keep plugging away in my
odd free hours. Do please let me know (the project forum would
probably be your best bet) if you find any issues with the code.
Thanks again for the feedback :-)