7 lines
215 B
Bash
7 lines
215 B
Bash
|
#!/bin/bash
|
||
|
for range in $(fc-query --format='%{charset}\n' "$1"); do
|
||
|
for n in $(seq "0x${range%-*}" "0x${range#*-}"); do
|
||
|
printf "<div><span>%04x</span><span>&#x%x;</span></div>" "$n" "$n"
|
||
|
done
|
||
|
done
|