Date: Mon, 2 Jul 2012 10:23:13 -0400 From: Jesse Hagewood <jesse.hagewood@gmail.com> To: soc-status@freebsd.org Cc: =?ISO-8859-1?Q?Dag=2DErling_Sm=F8rgrav?= <des@des.no> Subject: Improving BSD licensed text-processing tools Message-ID: <CACfFK-WsoP7aanzT4TgjCSAtOQHnr7g7auRjLswqRJgF3RNj8g@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Progress I made last week with diff: --left-column, --suppress-common-lines, --to-file, --from-file, and --help are completed. Implemented the different GTYPE options for --GTYPE-group-format (no functionality yet.) Implemented the different LTYPE options for --LTYPE-line-format (no functionality yet.) Finished the test script. Fixed binary/text file detection by using BSD grep's method, which is to search the file for a null character. If a null character is found, diff will assume it's a binary file. Besides the options for ignoring blank spaces and tab expansions which have bugs, it seems that the only major work left to be done with BSD diff is the line formatting and group formatting options. Even though my schedule says I move to working on sdiff this week, I'll try to complete what I have left for diff this week while also spending time looking at sdiff.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACfFK-WsoP7aanzT4TgjCSAtOQHnr7g7auRjLswqRJgF3RNj8g>