git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 2/3] update_unicode.sh: remove the plane filters

From
Beat Bolli <dev+git@drbeat.li>
Date
Dec 11, 2016, 23:34 UTC
Message-ID
<1481499265-18361-2-git-send-email-dev+git@drbeat.li>
In-Reply-To
<1481499265-18361-1-git-send-email-dev+git@drbeat.li>

The uniset upstream has accepted my patches that eliminate the Unicode plane offsets from the output in '--32' mode.

Remove the corresponding filter in update_unicode.sh.
Signed-off-by: Beat Bolli <dev+git@drbeat.li>
---
 update_unicode.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/update_unicode.sh b/update_unicode.sh
index 9ca7d8b..e595bf8 100755
--- a/update_unicode.sh
+++ b/update_unicode.sh
@@ -31,11 +31,10 @@ fi &&
 	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)
+		$(uniset/uniset --32 cat:Me,Mn,Cf + U+1160..U+11FF - U+00AD)
 	};
 	static const struct interval double_width[] = {
-		$(uniset/uniset --32 eaw:F,W | grep -v plane)
+		$(uniset/uniset --32 eaw:F,W)
 	};
 	EOF
 )
-- 
2.7.2
Previous: Beat BolliNext: Beat Bolli
Message 2 of 11 in “update_unicode.sh: update the uniset repo if it exists”
  1. 1/3 update_unicode.sh: update the uniset repo if it existsBeat Bolli, Dec 11, 2016
  2. 2/3 update_unicode.sh: remove the plane filtersBeat Bolli, Dec 11, 2016
  3. 3/3 update_unicode.sh: restore hexadecimal outputBeat Bolli, Dec 11, 2016
  4. Torsten BögershausenDec 12, 2016
  5. Beat BolliDec 12, 2016
  6. Torsten BögershausenDec 12, 2016
  7. Junio C HamanoDec 12, 2016
  8. Beat BolliDec 12, 2016
  9. Torsten BögershausenDec 13, 2016
  10. Junio C HamanoDec 13, 2016
  11. Beat BolliDec 12, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.