why don't u just put the output to a var inside your script then '<<' it to /bin/mail
----- Original Message ----- From: "jerome" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 23, 2002 5:54 PM Subject: Re: [plug] /bin/mail > it would limit me to a single thread... am i right? > > On Friday 23 August 2002 04:22, you wrote: > > At 05:39 PM 8/23/02 +0800, jerome wrote: > > > > Why not try redirecting your scripts output to a file then pipe it > > to mail? > > > > >i was thinking of automating somethings... i have a script that processes > > >data and then outputs the result in stdout... i was wondering if i can > > > pass those results to mail command. i already read the man pages for > > > mail.. but still no luck... > > >i tried using /bin/mys_script | mail -s"Subject" to_some_user hmmm no luck > > >again... > > > > --- > > Cheers, > > Reynald I. Ngo > > > > _ > > Philippine Linux Users Group. Web site and archives at > > http://plug.linux.org.ph To leave: send "unsubscribe" in the body to > > [EMAIL PROTECTED] > > > > To subscribe to the Linux Newbies' List: send "subscribe" in the body to > > [EMAIL PROTECTED] > _ > Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph > To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] > > To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED] > _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
