#! /bin/bash
# Last edited on 2014-06-21 21:54:24 by stolfilocal 

# Copy-paste the "recent posts" page of www.bitcointalk.org and 
# filter it through this script.

cat \
  | egrep -U -e '^[	][	].*Last post'
  | sed \
      -e 's:New «[ .0-9]*»::' \
      -e 's:New «[ .0-9]* All »::' \
      -e 's:[\011] *Last post [A-Za-z0-9: ]*::' \
      -e 's:[|]:/:g' \
      -e 's:[!]:.:g' \
      -e 's:^[\011][\011]::' \
      -e 's:[\011]: | :g'
