Date: Sun, 8 May 2011 17:40:10 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/bin/sh main.c parser.c sh.1 var.c var.h src/tools/regression/bin/sh/parser dollar-quote10.0 dollar-quote11.0 Message-ID: <201105081741.p48Hfalf046256@repoman.freebsd.org>
index | next in thread | raw e-mail
jilles 2011-05-08 17:40:10 UTC
FreeBSD src repository
Modified files:
bin/sh main.c parser.c sh.1 var.c var.h
Added files:
tools/regression/bin/sh/parser dollar-quote10.0
dollar-quote11.0
Log:
SVN rev 221669 on 2011-05-08 17:40:10Z by jilles
sh: Add \u/\U support (in $'...') for UTF-8.
Because we have no iconv in base, support for other charsets is not
possible.
Note that \u/\U are processed using the locale that was active when the
shell started. This is necessary to avoid behaviour that depends on the
parse/execute split (for example when placing braces around an entire
script). Therefore, UTF-8 encoding is implemented manually.
Revision Changes Path
1.47 +2 -2 src/bin/sh/main.c
1.110 +23 -0 src/bin/sh/parser.c
1.163 +2 -2 src/bin/sh/sh.1
1.59 +7 -0 src/bin/sh/var.c
1.22 +3 -0 src/bin/sh/var.h
1.1 +10 -0 src/tools/regression/bin/sh/parser/dollar-quote10.0 (new)
1.1 +8 -0 src/tools/regression/bin/sh/parser/dollar-quote11.0 (new)
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105081741.p48Hfalf046256>
