diff options
Diffstat (limited to 'admin/unidata/blocks.awk')
-rwxr-xr-x | admin/unidata/blocks.awk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/admin/unidata/blocks.awk b/admin/unidata/blocks.awk index 1b1d3fc66ba..a7ee134c9f9 100755 --- a/admin/unidata/blocks.awk +++ b/admin/unidata/blocks.awk @@ -115,14 +115,15 @@ function name2alias(name , w, w2) { else if (name ~ /duployan|shorthand/) return "duployan-shorthand" else if (name ~ /sutton signwriting/) return "sutton-sign-writing" - sub(/ (extended|extensions|supplement).*/, "", name) + sub(/^small /, "", name) + sub(/ (extended|extensions*|supplement).*/, "", name) sub(/numbers/, "number", name) sub(/numerals/, "numeral", name) sub(/symbols/, "symbol", name) sub(/forms$/, "form", name) sub(/tiles$/, "tile", name) sub(/^new /, "", name) - sub(/ (characters|hieroglyphs|cursive)$/, "", name) + sub(/ (characters|hieroglyphs|cursive|hieroglyph format controls)$/, "", name) gsub(/ /, "-", name) return name |