From mboxrd@z Thu Jan 1 00:00:00 1970 From: dev+git@drbeat.li Subject: [PATCH v2 5/5] update_unicode.sh: Delete the command group Date: Fri, 19 Dec 2014 17:21:34 +0100 Message-ID: <1419006094-24572-5-git-send-email-dev+git@drbeat.li> References: <1419006094-24572-1-git-send-email-dev+git@drbeat.li> To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Fri Dec 19 17:21:54 2014 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y20JN-0005Cv-Va for gcvg-git-2@plane.gmane.org; Fri, 19 Dec 2014 17:21:54 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752647AbaLSQVn (ORCPT ); Fri, 19 Dec 2014 11:21:43 -0500 Received: from smtp1.mail.fcom.ch ([212.60.46.170]:56235 "EHLO smtp1.mail.fcom.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751641AbaLSQVj (ORCPT ); Fri, 19 Dec 2014 11:21:39 -0500 Received: from drbeat.li (178-241-153-5.dyn.cable.fcom.ch [5.153.241.178]) by smtp1.mail.fcom.ch (Postfix) with ESMTP id 667E02092A for ; Fri, 19 Dec 2014 17:21:35 +0100 (CET) Received: by drbeat.li (Postfix, from userid 1000) id C19F821058; Fri, 19 Dec 2014 17:21:34 +0100 (CET) X-Mailer: git-send-email 2.1.3 In-Reply-To: <1419006094-24572-1-git-send-email-dev+git@drbeat.li> X-Virus-Scanned: clamav-milter 0.98.4 at smtp1.mail.fcom.ch X-Virus-Status: Clean Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: From: Beat Bolli Now that the whole file is generated by one single command, the command group is no longer needed. Signed-off-by: Beat Bolli --- update_unicode.sh | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/update_unicode.sh b/update_unicode.sh index d7343b9..27af77c 100755 --- a/update_unicode.sh +++ b/update_unicode.sh @@ -26,16 +26,15 @@ fi && ./configure --enable-warnings=-Werror CFLAGS='-O0 -ggdb' fi && make - ) && { - UNICODE_DIR=. && export UNICODE_DIR && - cat <<-EOF - static const struct interval zero_width[] = { - $(uniset/uniset --32 cat:Me,Mn,Cf \ - + U+1160..U+11FF - U+00AD | grep -v plane) - }; - static const struct interval double_width[] = { - $(uniset/uniset --32 eaw:F,W) - }; - EOF - } >$UNICODEWIDTH_H + ) && + UNICODE_DIR=. && export UNICODE_DIR && + cat >$UNICODEWIDTH_H <<-EOF + static const struct interval zero_width[] = { + $(uniset/uniset --32 cat:Me,Mn,Cf + U+1160..U+11FF - U+00AD | + grep -v plane) + }; + static const struct interval double_width[] = { + $(uniset/uniset --32 eaw:F,W) + }; + EOF ) -- 2.1.3