Skip to content

Commit

Permalink
adapt getemojis script to reduced format of unicode.org emoji charts (m…
Browse files Browse the repository at this point in the history
  • Loading branch information
mined committed Nov 12, 2023
1 parent 421e875 commit 55cdb97
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
10 changes: 7 additions & 3 deletions tools/getemojis
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ case "$1" in
echo " $emojisurl0" >&2
echo " $emojisurl1" >&2
echo "for the selected emoji style sets, or (if none selected) all of them:" >&2
echo " apple google facebook windows twitter emojione samsung" >&2
echo " google" >&2
echo "and always extracts common emoji graphics." >&2
echo "Other styles are no longer provided at unicode.org:" >&2
echo " [apple facebook windows twitter emojione samsung]" >&2
echo >&2
echo "Options:" >&2
echo " -d Download the chart files" >&2
Expand Down Expand Up @@ -135,7 +137,7 @@ for vendor in `cat "$emojis0" |
do seli=`expr $seli + 1`
case "$vendor" in
Appl) st=apple; apple=$seli;;
Goog) st=google; google=$seli;;
Sample|Goog) st=google; google=$seli;;
FB) st=facebook; facebook=$seli;;
Wind) st=windows; windows=$seli;;
Twtr) st=twitter; twitter=$seli;;
Expand All @@ -146,7 +148,9 @@ do seli=`expr $seli + 1`
done

case "$1" in
"") set - apple google facebook windows twitter emojione samsung;;
"") #set - apple google facebook windows twitter emojione samsung
set - google
;;
esac
sel=
while case "$1" in
Expand Down
1 change: 1 addition & 0 deletions wiki/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

Unicode and Emoji data
* Unicode 15.1 update.
* Adapt getemojis script to reduced format of unicode.org emoji charts (#1240).

Terminal features
* Tweak mousewheel scrolling: do not mix line and page events (#1234).
Expand Down
10 changes: 7 additions & 3 deletions wiki/getemojis
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ case "$1" in
echo " $emojisurl0" >&2
echo " $emojisurl1" >&2
echo "for the selected emoji style sets, or (if none selected) all of them:" >&2
echo " apple google facebook windows twitter emojione samsung" >&2
echo " google" >&2
echo "and always extracts common emoji graphics." >&2
echo "Other styles are no longer provided at unicode.org:" >&2
echo " [apple facebook windows twitter emojione samsung]" >&2
echo >&2
echo "Options:" >&2
echo " -d Download the chart files" >&2
Expand Down Expand Up @@ -135,7 +137,7 @@ for vendor in `cat "$emojis0" |
do seli=`expr $seli + 1`
case "$vendor" in
Appl) st=apple; apple=$seli;;
Goog) st=google; google=$seli;;
Sample|Goog) st=google; google=$seli;;
FB) st=facebook; facebook=$seli;;
Wind) st=windows; windows=$seli;;
Twtr) st=twitter; twitter=$seli;;
Expand All @@ -146,7 +148,9 @@ do seli=`expr $seli + 1`
done

case "$1" in
"") set - apple google facebook windows twitter emojione samsung;;
"") #set - apple google facebook windows twitter emojione samsung
set - google
;;
esac
sel=
while case "$1" in
Expand Down

0 comments on commit 55cdb97

Please sign in to comment.