From: Johann Spies Date: 2005-06-06T19:38:37+09:00 Subject: Re: A Ruby script to add email disclaimers On Mon, Jun 06, 2005 at 07:28:22PM +0900, Brian Schr�der wrote: > > $ echo "this is a test" | ruby -e 'puts $stdin.read; puts "Disclaimer"' > this is a test > Disclaimer Thanks. Also thanks to Robert Klemme. The use of $stdin.read was wat I was looking for: mail = TMail::Mail.parse( $stdin.read ) does the job. Regards Johann -- Johann Spies Telefoon: 021-808 4036 Informasietegnologie, Universiteit van Stellenbosch "Therefore being justified by faith, we have peace with God through our Lord Jesus Christ." Romans 5:1