On Wed, 2 Nov 2005, jdow wrote: |# On Mittwoch, 2. November 2005 15:25 Mike Loiterman wrote: |# > 8:24:50 [EMAIL PROTECTED]: /home/mike]# spamassassin -D --lint > |# > debug.txt 2>&1 |# > Ambiguous output redirect. |# |# Arhm - is that a Unix box? I can't imagine where that error comes from. Try |#
It comes from attempting to use "2>&1" with csh or tcsh as the users shell. To redirect STDERR to STDOUT under these shells, use ">&" or "|&" only. |# spamassassin -D --lint 2>&1|cat >debug.txt |# or |# spamassassin -D --lint 2>&1|mail mike |# (this last line to receive it as mail) |# spamassassin -D --lint >& debug.txt or spamassassin -D --lint |& mail mike -- Tim Rosmus <[EMAIL PROTECTED]> Postmaster / USENET / DNS Northwest Nexus Inc. / NetOS Inc.