Chromium Code Reviews

Unified Diff: icu52/scripts/remove_unihan.sh

Issue 224943002: icu local change part1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/
Patch Set: fix typos in uconfig.h and putil.patch Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: icu52/scripts/remove_unihan.sh
===================================================================
--- icu52/scripts/remove_unihan.sh (revision 0)
+++ icu52/scripts/remove_unihan.sh (revision 0)
@@ -0,0 +1,14 @@
+#!/bin/sh
+# Copyright (c) 2013 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+cd `dirname $0`/../source/data/coll
Mark Mentovai 2014/04/04 19:22:52 Backticks suck, use $(…) instead. And you should
+
+echo "Removing unihan collation data from CJK"
+
+for i in zh ja ko
+do
+ echo "Overwriting ${i}.txt"
+ sed '/^ unihan{$/,/^ }$/ d' -i ${i}.txt
+done
Property changes on: icu52/scripts/remove_unihan.sh
___________________________________________________________________
Added: svn:eol-style
+ LF
Added: svn:executable
+ *

Powered by Google App Engine