On Tuesday 22 July 2008 10:56, Sonja Krause-Harder wrote:
On Tue, Jul 22, 2008 at 08:13:37AM -0400, Peter Bloomfield wrote:
If someone can let me know how to pipe the output of the command 'sax2 -a' to a log file I will post it here. I can log most of the ouput, but not the lines during the failure, where it prints which lines of which object the program failed at.
You are probably looking for a way to redirect the error output, try:
$ [whatever command you used] 2>&1
If you want to learn more about the whole concept of output redirection: http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-3.html
does that help?
I tried a number of combinations to redirect the output, but non saved the failed program listing to a file. Anybody else have any suggestions? Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org