cia-2010-covert-communication-websites/webmastercn-post.sh
#!/usr/bin/env bash
set -eu
LC_ALL=C awk 'BEGIN{ p=0 } /<\/pre>/ { exit } { if (p) { print } } /^<pre[ >]/{ p=1; if (!/<\/strong>$/) { gsub(/.*<br>/, "", $0); if ( /^<!DOCTYPE HTML PUBLIC/ ) { exit }; print } }' "$@" | dos2unix