From owner-freebsd-questions Wed Aug 8 18: 1:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from relay02.equinox.net (unknown [204.68.168.13]) by hub.freebsd.org (Postfix) with SMTP id 7328837B405 for ; Wed, 8 Aug 2001 18:01:40 -0700 (PDT) (envelope-from bmcalpine@macconnect.com) Received: (qmail 2473 invoked from network); 9 Aug 2001 01:01:35 -0000 Received: from 66-108-96-32.nyc.rr.com (HELO ?10.0.1.3?) (66.108.96.32) by relay02.equinox.net with SMTP; 9 Aug 2001 01:01:35 -0000 User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 Date: Wed, 08 Aug 2001 21:01:34 -0400 Subject: Scripting question From: Brendan McAlpine To: freebsd-questions Message-ID: In-Reply-To: <1557596443.20010808173718@dsl-only.net> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hey all I am trying to cobble together a script that emails me a file. How would I write this in a one line shell script command? I am using the mail command. I can get the shell to open a new mail message, but I can't get it to put the contents of the file in the email and send it off to me. Any help would be appreciated. TIA Brendan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message