From e4d15ec387cdb9ef24c6732f03bf7e7898112be8 Mon Sep 17 00:00:00 2001 From: "Tim J. Robbins" Date: Sat, 8 Jun 2002 08:08:47 +0000 Subject: [PATCH] Document cut(1)'s deficiencies in dealing with multibyte characters in the BUGS section. These will be easy to fix when we have wide character stdio. --- usr.bin/cut/cut.1 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/usr.bin/cut/cut.1 b/usr.bin/cut/cut.1 index 3da80f75add..f81e6828d6e 100644 --- a/usr.bin/cut/cut.1 +++ b/usr.bin/cut/cut.1 @@ -137,3 +137,17 @@ The .Nm utility conforms to .St -p1003.2-92 . +.Sh BUGS +The +.Fl c +option is a synonym for the +.Fl b +option, which causes incorrect behaviour in locales that support +multibyte characters. +.Pp +When operating on fields +.Pq Fl f No option is specified , +.Nm +does not recognise multibyte characters, and the +.Ar delim +character is recognised in the middle of multibyte sequences.