From owner-freebsd-questions@FreeBSD.ORG Thu May 15 23:44:15 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78B8637B401 for ; Thu, 15 May 2003 23:44:15 -0700 (PDT) Received: from out006.verizon.net (out006pub.verizon.net [206.46.170.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id A954443F75 for ; Thu, 15 May 2003 23:44:14 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from mac.com ([129.44.60.214]) by out006.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030516064414.BNGI25800.out006.verizon.net@mac.com>; Fri, 16 May 2003 01:44:14 -0500 Message-ID: <3EC488BD.6060602@mac.com> Date: Fri, 16 May 2003 02:44:13 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030507 X-Accept-Language: en-us, en MIME-Version: 1.0 To: TOPCAT CONSULTING References: <3EC47831.738F7836@sk.sympatico.ca> In-Reply-To: <3EC47831.738F7836@sk.sympatico.ca> X-Enigmail-Version: 0.75.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [129.44.60.214] at Fri, 16 May 2003 01:44:13 -0500 cc: freebsd-questions@freebsd.org Subject: Re: "Ambiguous pipeline" question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 06:44:15 -0000 TOPCAT CONSULTING wrote: [ ... ] > /usr/sbin/periodic daily 2>&1 | lpr > -it just gives me an "Ambiguous output redirect" > > How can I get this to sendmail, *and* also to the printer? Run the command under /bin/sh (or bash,zsh,ksh,etc) and not a csh/tcsh shell. -Chuck