Just set a file name in place of the '/dev/null'

        /usr/bin/tidy -f error1.log -config /path/to/your/tidyconfig.txt 2> 
error2.log

You should check the man page for tidy, lots of good stuff there.

        man tidy


François



On Mar 28, 2012, at 2:29 PM, David Eves wrote:

> On Wed, Mar 28, 2012 at 10:39 AM, Patrick Woolsey
> <[email protected]> wrote:
>> At 10:20 -0600 03/28/2012, LuKreme wrote:
>>> On 28 Mar 2012, at 09:57 , Patrick Woolsey wrote:
>>>> [1. Please note that whatever options you set for 'tidy', you'll need to
>>>> redirect error output away from stderr, otherwise the combined output will
>>>> be directed to BBEdit's Unix Script Output window instead of replacing the
>>>> current document's contents.]
>>> 
>>> Do you mean
>>> 
>>> /usr/bin/tidy -f /dev/null -config /path/to/your/tidyconfig.txt 2> /dev/null
>>> 
>>> or do you mean something else?
>> 
>> 
>> Sorry, I should've made that clearer.
>> 
>> The command in my post does that redirection via '-f /dev/null' but if you
>> substitute your own options, you'll want to keep doing likewise.
>> 
> 
> Is there a way to specify the Unix Script Output window for errors
> instead of /dev/null? I don't actually want to ignore the errors.
> 
> 
> 
> -- 
> David Eves
> 
> -- 
> You received this message because you are subscribed to the 
> "BBEdit Talk" discussion group on Google Groups.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> <http://groups.google.com/group/bbedit?hl=en>
> If you have a feature request or would like to report a problem, 
> please email "[email protected]" rather than posting to the group.
> Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to