#!/bin/sh

bithackuri="https://graphics.stanford.edu/~seander/bithacks.html"

curl -s https://graphics.stanford.edu/~seander/bithacks.html \
       | sed 's,^<hr>,================================,g' \
       | lynx -dump -stdin -nomargins -display_charset="utf-8" \
       | sed 's,================================,%,g' \
       > bithacks.stanford

printf "Now please clean up bithacks.stanford for fortunes.\n"