Hacker News new | past | comments | ask | show | jobs | submit login

Thanks very much for this script, it was really refreshing to read such a minimal webpage.

I added some bare-minimum CSS to make it a little nicer to read. Full command (with in-place sed):

    curl -o article.htm https://www.wsj.com/amp/articles/the-quants-run-wall-street-now-1495389108
    sed -n '/./{/<title/,/<\/title/p;/<p>/,/<\/p>/p;}' -i article.htm
    echo "<style>html { text-align: center; padding: 36px; } body { max-width: 600px; text-align: left; margin: auto; }</style>" >> article.htm



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: