Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 2003 02:44:13 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        TOPCAT CONSULTING <topcat@sk.sympatico.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: "Ambiguous pipeline" question
Message-ID:  <3EC488BD.6060602@mac.com>
In-Reply-To: <3EC47831.738F7836@sk.sympatico.ca>
References:  <3EC47831.738F7836@sk.sympatico.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EC488BD.6060602>