From owner-cvs-src-old@FreeBSD.ORG Sun May 8 17:41:36 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0B1E1065677 for ; Sun, 8 May 2011 17:41:36 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D0BBA8FC2C for ; Sun, 8 May 2011 17:41:36 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p48Hfap6046257 for ; Sun, 8 May 2011 17:41:36 GMT (envelope-from jilles@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p48Hfalf046256 for cvs-src-old@freebsd.org; Sun, 8 May 2011 17:41:36 GMT (envelope-from jilles@repoman.freebsd.org) Message-Id: <201105081741.p48Hfalf046256@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jilles@repoman.freebsd.org using -f From: Jilles Tjoelker Date: Sun, 8 May 2011 17:40:10 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD 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 X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 May 2011 17:41:37 -0000 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)