I'm probably missing a way in which the $B flag toggling with cascaded booleans is funner, but I'm afraid I continue to prefer perl -ne 'print unless 1../^$/' <a mail message or perl -ni -e 'close ARGV if eof;print unless 1../^$/' * to behead a maildir. -Bennett, resident Bear of Very Little Brain