summaryrefslogtreecommitdiffhomepage
path: root/src/blog/extend/program.sh
blob: da5d1a1ddb81e432e8f2e4544b42d37ad14c06ae (plain) (blame)
1
2
3
4
5
6
#!/bin/sh

name="$(cut -d';' -f2 UnicodeData.txt | dmenu)"
awk -vn="$name" -F';' '$2 == n { print $1 }' UnicodeData.txt \
| xargs printf \
| wl-copy