in reply to parsing cleardiff output :(
while(<>) { next unless /^-+\[[^\]]+\]-*\|-*\[[^0-9]+([^\]]+)\]/; print "$1\n"; } [download]