9 lines
383 B
Bash
9 lines
383 B
Bash
#!/bin/bash
|
|
cd /tmp
|
|
rm -f font.c
|
|
curl -sSL --max-time 120 "https://raw.githubusercontent.com/rhboot/grub2/master/grub-core/font/font.c" -o font.c || true
|
|
[ -s font.c ] || curl -sSL --max-time 120 "https://git.savannah.gnu.org/cgit/grub.git/plain/grub-core/font/font.c" -o font.c
|
|
echo "size: $(stat -c %s font.c)"
|
|
echo "=== CHIX / DATA parsing:"
|
|
grep -n -A25 'CHIX' font.c | head -60
|