- To: Penguinillas <slug@xxxxxxxxxxx>
- Subject: Re: [SLUG] Security and catting to an env variable (Was: mkdir and $?)
- From: Jeff Waugh <jdub@xxxxxxxxxxx>
- Date: Sat Jul 7 00:22:02 2001
- User-agent: Mutt/1.3.18i
<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 jdub@xxxxxxxxxxxxxx < 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