Thanks Patrick, that explains it. The commands I was running didn't return 
any output but they did return a warning. That's why I mistakingly thought 
that everything was going to the log window.

On Thursday, April 15, 2021 at 3:59:30 PM UTC-4 Patrick Woolsey wrote:

> This is the expected behavior:
>
> A text filter should accept input on STDIN and return the 
> processed data (if any :-) on STDOUT, which BBEdit will place 
> back into the document, whereas if there is any error output, 
> BBEdit will post that into the script output log (so as not to 
> adversely affect the document's contents).
>
> [PS: For reference please see the "Filters" section (pg. 355 
> currently) in Chapter 14 of the PDF manual. :-) ]
>
> [PPS: Shell worksheets by their nature do not redirect error output.]
>
> Regards
>
> Patrick Woolsey
> ==
> Bare Bones Software, Inc. <https://www.barebones.com/>
>
>
>
>
> On 4/15/21 at 2:18 PM, [email protected] (Matthew Fischer) wrote:
>
> >Thanks Jean, but I do have it in the text filters folder and am calling it
> >via "Text > Apply Filter".
> >
> >On further investigation, it seems to have been because a command I was
> >running generated a warning:
> >
> >echo "Some Text"
> >^prints to the document
> >
> >ssh devserver "echo 'some text'"
> >^prints to the document
> >
> >ssh devserver "mysql ..."
> >mysql: [Warning] Using a password on the command line interface can be
> >insecure.
> >
> >^prints to the log window
> >
> >
> [...older messages elided...]
>
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/d16a5b4b-8c73-440f-a45d-137877ee7136n%40googlegroups.com.

Reply via email to