Skip to content

Instantly share code, notes, and snippets.

@davidvanvickle
Last active December 15, 2015 20:09
Show Gist options
  • Save davidvanvickle/5316225 to your computer and use it in GitHub Desktop.
Save davidvanvickle/5316225 to your computer and use it in GitHub Desktop.
make a nice font list of what is used in the xdts and xats
echo -n `find . -name "*.x*" -print -exec awk -v RS='"' '/font_name=$/{getline;print}' {} \;` >> font-names1.txt;
sed -e 's/ \//\
\//g' font-names1.txt > font-names2.txt;sed -e 's/ \.\//\
\.\//g' font-names2.txt > font-names3.txt;cat font-names3.txt | sort | uniq > font-names4.txt;cat font-names4.txt;rm font*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment