since we have wcwidth anyway, expose it as ${%strvar} to the user, iff

utf8-mode is enabled (otherwise it'll be a synonym for ${#strvar} aka
the number of octets in it)
This commit is contained in:
tg
2009-11-21 23:23:20 +00:00
parent aa31a51e5f
commit 2094e3f25c
5 changed files with 91 additions and 16 deletions

4
sh.h
View File

@@ -134,9 +134,9 @@
#endif
#ifdef EXTERN
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.360 2009/11/09 23:35:11 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.361 2009/11/21 23:23:20 tg Exp $");
#endif
#define MKSH_VERSION "R39 2009/11/09"
#define MKSH_VERSION "R39 2009/11/21"
#ifndef MKSH_INCLUDES_ONLY