From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Greg Rudd Newsgroups: gmane.os.tru64.managers Subject: Stupid mailx question Date: Wed, 16 Jul 2008 17:34:35 +1000 Message-ID: <1216193675.15835.26.camel@localhost.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1216194100 1739 80.91.229.12 (16 Jul 2008 07:41:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Jul 2008 07:41:40 +0000 (UTC) Cc: bryanc@usyd.edu.au To: Tru64-UNIX-Managers@ornl.gov Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Jul 16 09:42:27 2008 Return-path: Envelope-to: gotm-tru64-unix-managers@gmane.org Original-Received: from sws1.ornl.gov ([160.91.1.101]) by lo.gmane.org with smtp (Exim 4.50) id 1KJ1eZ-0002G8-FT for gotm-tru64-unix-managers@gmane.org; Wed, 16 Jul 2008 09:42:23 +0200 Original-Received: (qmail 11461 invoked by uid 49509); 16 Jul 2008 07:41:18 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 11451 invoked by uid 49501); 16 Jul 2008 07:41:18 -0000 Original-Received: from 160.91.86.17 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.86.17):SA:0(-2.6/5.0):. Processed in 1.134338 secs); 16 Jul 2008 07:41:18 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 Original-Received: from emroute2.ornl.gov (160.91.86.17) by sws1.ornl.gov with SMTP; 16 Jul 2008 07:41:16 -0000 Original-Received: from emroute2.ornl.gov ([127.0.0.1]) by emroute2.ornl.gov (PMDF V6.3-x14 #31501) with ESMTP id <0K43001379CSM2@emroute2.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-UNIX-Managers@ornl.gov) ; Wed, 16 Jul 2008 03:41:16 -0400 (EDT) Original-Received: from CONVERSION-DAEMON.emroute2.ornl.gov by emroute2.ornl.gov (PMDF V6.3-x14 #31501) id <0K43002019CSOC@emroute2.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-UNIX-Managers@ornl.gov) ; Wed, 16 Jul 2008 03:41:16 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute2.ornl.gov by emroute2.ornl.gov (PMDF V6.3-x14 #31501) id <0K43002029CIO8@emroute2.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-UNIX-Managers@ornl.gov) ; Wed, 16 Jul 2008 03:41:16 -0400 (EDT) Original-Received: from london.ucc.usyd.edu.au (london.ucc.usyd.edu.au [129.78.220.2]) by emroute2.ornl.gov (PMDF V6.3-x14 #31501) with ESMTP id <0K4300DW19CGR4@emroute2.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-UNIX-Managers@ornl.gov) ; Wed, 16 Jul 2008 03:41:06 -0400 (EDT) Original-Received: from london.ucc.usyd.edu.au (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 064902CB468 for ; Wed, 16 Jul 2008 17:41:04 +1000 (EST) Original-Received: from localhost.localdomain (localhost [127.0.0.1]) by london.ucc.usyd.edu.au (Postfix) with ESMTP id E24E42CAB59 for ; Wed, 16 Jul 2008 17:41:02 +1000 (EST) Original-Received: from unknown-host by london with queue (Sophos PureMessage Version 5.400) id 25280742-5 for Tru64-UNIX-Managers@ornl.gov; Wed, 16 Jul 2008 07:35:16 +0000 (GMT) Original-Received: from [129.78.65.8] (esu-5.ucc.usyd.edu.au [129.78.65.8]) by london.ucc.usyd.edu.au (Postfix) with ESMTP id F15B22CB48C; Wed, 16 Jul 2008 17:35:14 +1000 (EST) X-Envelope-from: G.Rudd@isu.usyd.edu.au X-Mailer: Evolution 2.22.2 X-Spam-Virus: No X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on spam3.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,BOTNET_SOHO, ORNL_STUPID_SUB,RCVD_IN_DNSWL_LOW autolearn=no version=3.2.5 Xref: news.gmane.org gmane.os.tru64.managers:9326 Archived-At: Hi all I am trying to port some scripts that were writen in tru64 over to linux and when I try to execute the script that uses mailx to send a uuencoded attachment that takes in a command as standard input from a file and appends the standard output from the commands executed in that file and then mail it to a number of users. On the alpha the commands work as you would expect however on the linux box the standard imput from the file is passed to mailx as a litteral with the mail message being the contents of the input file. eg mailx -s "why does this work on an alpha" foo@bar.edu.au < input-file the input file contains the following: on the alpha ~