Table of Contents

Porting BSD-licensed Text-Processing Tools from OpenBSD

FreeBSD currently uses the GNU versions of the command-line text-processing tools: grep, sort, diff, patch, sdiff. The goal of this project is to port the BSD-licensed versions of these tools from OpenBSD and optimize the performance where possible, provide standard-conformance and handling of wide character sets. The man pages also need to be revised and completed.

BSD grep

Please see BSDgrep and Regex pages.

sort

Has been rewritten from scratch. There are some missing features. Performance is the major issue.

diff

Item Status
Missing –ignore-file-name-case COMPLETED
Missing –no-ignore-file-name-case COMPLETED
Missing –strip-trailing-cr COMPLETED
Missing –normal COMPLETED
Missing –tabsize INCOMPLETE
Missing –unidirectional-new-file COMPLETED
Missing –from-file COMPLETED
Missing –to-file COMPLETED
Missing –help COMPLETED
Missing –ignore-blank-lines INCOMPLETE
Missing –ignore-tab-expansion INCOMPLETE
Missing -v / –version COMPLETED
Eliminate warnings COMPLETED
Comment the code INCOMPLETE
Check GNU compatibility INCOMPLETE
Check POSIX conformance COMPLETED