13

awk print the body of an email

view full story
linux-howto

http://www.unix.com – I have fetched a couple of emails and stored then in /fetch/mail/oracle.txt, the displayed content is Date: From: Subject: To: Content-Type: ---body ----- --------- Date: From: Subject: To: Content-Type: ----body ----- ------ Date: From: I want to retrieve the body only from the emails i fetched,the problem i am having is the body doesn't have a tag, the output should be like email-1 ----body--- email-2 ----body--- (HowTos)