Date: Sat, 7 May 2011 14:32:16 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/bin/sh expand.c src/tools/regression/bin/sh/expansion length7.0 length8.0 Message-ID: <201105071433.p47EXiwp010372@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jilles 2011-05-07 14:32:16 UTC
FreeBSD src repository
Modified files:
bin/sh expand.c
Added files:
tools/regression/bin/sh/expansion length7.0 length8.0
Log:
SVN rev 221602 on 2011-05-07 14:32:16Z by jilles
sh: Add UTF-8 support to ${#var}.
If the current locale uses UTF-8, ${#var} counts codepoints (more precisely,
bytes b with (b & 0xc0) != 0x80).
Revision Changes Path
1.84 +13 -3 src/bin/sh/expand.c
1.1 +14 -0 src/tools/regression/bin/sh/expansion/length7.0 (new)
1.1 +14 -0 src/tools/regression/bin/sh/expansion/length8.0 (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105071433.p47EXiwp010372>
