Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 2003 23:33:37 -0600
From:      TOPCAT CONSULTING <topcat@sk.sympatico.ca>
To:        freebsd-questions@freebsd.org
Subject:   "Ambiguous pipeline" question
Message-ID:  <3EC47831.738F7836@sk.sympatico.ca>

next in thread | raw e-mail | index | archive | help
From:  /etc/crontab:

/usr/sbin/periodic daily 2>&1 | sendmail root

The above works with no problem.  But, the following does not:

/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?



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