<quote who="Andre Pang">

> looks like your approach works, although i'd be inclined to do
> 
>     STDIN=$(tee -a pantslog)  # you sure you don't want cat > pantslog?
>     mail [EMAIL PROTECTED] < pantslog

No, tee -a means that I'm appending to a file, and putting everything out to
stdin as well, so if I just mailed pantslog, you would get the entire
appended file, not just the current bit in stdin. :)

- Jeff

-- 
      "Life is short. Forgive quickly. Kiss slowly." - Robert Doisneau      

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to