#!/bin/bash --
#
#	locf-i-f-cat: cat "filtered" local folder inbox content.
#	("filtered" is defined by what you see below. :) )
#
moz_thun_salt_dir="$HOME/.thunderbird/frz1ma1s.default"

cd "$moz_thun_salt_dir"
if [ $? -ne 0 ]; then exit 1; fi

sed -n -e '1,/^From .* 2009$/p' "Mail/Local Folders/!a!Inbox" | sed '$d'
zcat locf-ims.gz
exec sed -n -e '/^From .* 2009$/,$p' "Mail/Local Folders/!a!Inbox"
