mirror of
https://github.com/Keyitdev/dotfiles.git
synced 2026-09-24 01:52:09 +00:00
New version: created v3
This commit is contained in:
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
for range in $(fc-match --format='%{charset}\n' "$1"); do
|
||||
for n in $(seq "0x${range%-*}" "0x${range#*-}"); do
|
||||
n_hex=$(printf "%04x" "$n")
|
||||
# using \U for 5-hex-digits
|
||||
printf "%-5s\U$n_hex\t" "$n_hex"
|
||||
count=$((count + 1))
|
||||
if [ $((count % 10)) = 0 ]; then
|
||||
printf "\n"
|
||||
fi
|
||||
done
|
||||
done
|
||||
printf "\n"
|
||||
Reference in New Issue
Block a user