xsl-list
[Top] [All Lists]

RE: saxon command line error "2>error.txt"

2004-05-20 08:30:02
Tom,
The option I was speaking of was for SAXON.

I don't think I tried using the & yet in the command line on my
Windows 95. thanks.

Mike F.
Washington, DC

p.s. What list do people use when they have implementation questions?

--- "Passin, Tom" <tpassin(_at_)mitretek(_dot_)org> wrote:
From: Michael Kay [mailto:mhk(_at_)mhk(_dot_)me(_dot_)uk] 

It just struck me as odd that I found no option that was able
to 
direct the errors to a file. I thought I must be doing 
something wrong 
or have misunderstood the options (where to place the syntax).

I'm surprised too. Every other OS that I know provides this
option. 


Two minutes with the Vivisimo search engine came up with an answer
-

See http://www.jpsoft.com/help/index.htm?redirection.htm

The followng is from the 4NT manual, but it looks the same as the
information for the standard WINNT command shell referenced above -

"
& filename   Redirect standard output and standard error to a file
or
device
&> filename  Redirect standard error only to a file or device

If you want to append output to the end of an existing file, rather
than
creating a new file, replace the first ">" in the last three
commands
above with ">>" (i.e., use >>, >>&, and >>&>)."

BTW, 4NT is a much superior shell for Windows NT/2000/...  I highly
recommend it if you use the command line very much on Windows.

Cheers,

Tom P


--+------------------------------------------------------------------
XSL-List info and archive: 
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--




        
                
__________________________________
Do you Yahoo!?
Yahoo! Domains ? Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer