1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Skip entities with unknown unicode (0x????)

This commit is contained in:
Jonas Fonseca 2006-01-03 17:12:58 +01:00 committed by Jonas Fonseca
parent 395a64f569
commit 8c684e8c73

View File

@ -7,6 +7,7 @@ sed -n '/^[^#]/,$p' < entities.txt | while read line; do \
name=$(echo "$line" | cut -f 1); \
code=$(echo "$line" | cut -f 3); \
desc=$(echo "$line" | cut -f 4 | sed 's/# //'); \
test "$code" = "0x????" && continue
printf "\t{ %-12s %s }, /* %-46s */\n" \
"\"$name\"," "$code" "$desc"; \
done | LC_ALL=C sort > tmp