> From: abel deuring <[email protected]> > Date: Fri, 13 Feb 2004 12:31:40 +0100 > > > The '>' redirection catches data sent to stdout, while the debug > messages are sent to stderr. You can redirect stderr into a file using > '2>' instead of '>', i.e.: > > SANE_DEBUG_UMAX=255 SANE_DEBUG_SANEI_SCSI=255 scanimage -d > umax:/dev/scanner 2> debug.txt
The above is shell-specific to Born-shell and its derivatives. For C-shell, it would be SANE_DEBUG_UMAX=255 SANE_DEBUG_SANEI_SCSI=255 scanimage -d umax:/dev/scanner >& debug.txt Good luck. Robert Riches [email protected] (Yes, that is one of my email addresses.)
