[download]

local/bin/nerdfonts

   1 #!/bin/bash
   2 
   3 f=~/.cache/nerdfonts
   4 
   5 [[ ! -f $f ]] &&
   6 curl -s https://www.nerdfonts.com/cheat-sheet |
   7 grep 'class-name">nf-' | tr '<>' '\t\t' | cut -f 3,7 |
   8 while read n s; do printf '%b %s\n' "\u$s" "$n"; done > $f
   9 
  10 cat $f