Skip to content

Commit

Permalink
Reorder HTML attributes
Browse files Browse the repository at this point in the history
Rows can still be sorted in alphabetical order in Atom without the extra
HTML attribute (which was only added for that purpose).
  • Loading branch information
Alhadis committed Jul 7, 2016
1 parent 1e94301 commit fb905d4
Show file tree
Hide file tree
Showing 2 changed files with 108 additions and 114 deletions.
6 changes: 0 additions & 6 deletions Makefile
Expand Up @@ -23,9 +23,3 @@ reset:
.PHONY: downcase
downcase: $(svg)
@f=($(svg)); for i in "$${f[@]}"; do d=$$(echo "$$i" | tr '[A-Z]' '[a-z]'); mv "$$i" "$$d"; done


# Update the charmap's "Name" column using each row's "data-s" attribute
.PHONY: synced-names
synced-names:
@perl -p -i -e 's/(<tbody data-s=")([^"]+)(".+<b>)[^<]+(<\/b>.+$$)/$$1$$2$$3$$2$$4/gmi' $(charmap)

0 comments on commit fb905d4

Please sign in to comment.