Subject: CVS commit: src/usr.bin/cut
To: None <source-changes@NetBSD.org>
From: Hubert Feyrer <hubertf@netbsd.org>
List: source-changes
Date: 02/17/2007 19:10:00
Module Name:	src
Committed By:	hubertf
Date:		Sat Feb 17 19:10:00 UTC 2007

Modified Files:
	src/usr.bin/cut: cut.c
Added Files:
	src/usr.bin/cut: x_cut.c

Log Message:
Teach 'cut -c' about multibyte characters.  Fixes PR 34244,
using the patch from the PR and some hacking by myself to avoid code
redundancy.

Passes the regression tests I've added.

(How many weeks of purgatory do I get for the cpp(1) hack to avoid
 code redundancy? I guess I can always say it was inspired by some old
 version of our md5 sources...)


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 src/usr.bin/cut/cut.c
cvs rdiff -r0 -r1.1 src/usr.bin/cut/x_cut.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.