On Mon, 9 Oct 2006, Email Lists wrote:

> ->
> -> Angle brackets?
> ->
> -> spamassassin -D --lint 2>&1 > ilikedebug.logs
> ->
> -> Personally, I'd just read it and forget it...
> ->
> -> spamassassin -D --lint 2>&1 | less
> ->
> ->
> -> Daryl
>
> As a long time Linux admin, I felt the same way, yet when I piped it to
> more, it didn't work, hence my post to the list...
>
> The "less" one above works, yet the ">" sending it to a file as I desire,
> still does not work...
>
> Try it  :-)
>
> Weird huh?

Shell semantics error, try:

  spamassassin -D --lint > ilikedebug.logs 2>&1

Note that the order of those redirects -is- important


-- 
Dave Funk                                  University of Iowa
<dbfunk (at) engineering.uiowa.edu>        College of Engineering
319/335-5751   FAX: 319/384-0549           1256 Seamans Center
Sys_admin/Postmaster/cell_admin            Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{

Reply via email to