Date: Mon, 16 Jun 2008 23:22:05 +0200 From: Gabor Kovesdan <gabor@FreeBSD.org> To: freebsd-wip-status@FreeBSD.org Subject: BSD-licensed grep Message-ID: <4856D97D.3060505@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Hello All, I've basically terminated te feature-completion of the BSD-licensed grep from OpenBSD. It means, that I've accomplished the following tasks: - Implement --label - Implement --null - Implement --color / --colour - Implement -D / --devices - Implement -H / --with-filename - Implement -J / --bz2decompress - Implement -d / --directories - Implement -m / --max-count - Implement -o / --only-matching - Add --help - Eliminate warnings - style(9) cleanup I've made some preliminary tests with the fgrep and normal grep behaviour and it seems that they can achieve the same speed. What remains is to do more test about the performance and the compatibility with the GNU version. You can test this version easily by installing the textproc/bsdgrep port, which creates two symlinks: bsdgrep points to this version and gnugrep points to the base grep. Any help and comments are welcome. Regards, Gábor Kövedán P.S.: Acknowledgements are going to Max Khon, who is my mentor in this program, to Diomidis Spinellis due to the his useful comments and to Sean C. Farley who worked on this implementation of grep before and provided some preliminary comments and suggestions before I started working on this project, and of course, to Google for sponsoring this piece of work.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4856D97D.3060505>