Skip to content

Instantly share code, notes, and snippets.

@cls
Last active July 13, 2017 11:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cls/f03cc9419b8b741a05196f01d5223395 to your computer and use it in GitHub Desktop.
Save cls/f03cc9419b8b741a05196f01d5223395 to your computer and use it in GitHub Desktop.
Script to extract certain fields from the Unicode Character Database
BEGIN { FS = ";"; OFS = ","; }
{ name = $2; }
name ~ /<.*>/ { name = $11; }
name { print $1, name, $3; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment