On Wednesday 02 November 2005 12:02, Rick Cooper wrote: > > -----Original Message----- > > From: Michael Monnerie [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, November 02, 2005 12:07 PM > > To: users@spamassassin.apache.org > > Subject: Re: Bayes mysql db error > > > > 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 > > > > spamassassin -D --lint 2>&1|cat >debug.txt > > or > > spamassassin -D --lint 2>&1|mail mike > > (this last line to receive it as mail) > > That is a Unix box I am sure, the ambiguity is because he is redirecting > incorrectly. He has: > spamassassin -D --lint > debug.txt 2>&1 > > and debug.txt doesn't produce output to redirect stderr to stdin. He should > use > spamassassin -D --lint &> debug.txt > > one would think > > Rick
That depends on the Shell that he is using, the second recommendation "&>" is correct for Csh and it's derrivatives, the first format "> file 2>&1" is correct for Bourne Shell and it's derrivatives. -- Larry G. Starr - [EMAIL PROTECTED] or [EMAIL PROTECTED] Software Engineer: Full Compass Systems LTD. Phone: 608-831-7330 x 1347 FAX: 608-831-6330 =================================================================== There are only three sports: bullfighting, mountaineering and motor racing, all the rest are merely games! - Ernest Hemmingway