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

That said, if I run the exact same command in a shell worksheet, the 
warning prints in the worksheet.

On Thursday, April 15, 2021 at 1:42:18 PM UTC-4 jj wrote:

> Hi Matt,
>
> I tested your script.
>
> When placed in the "~/Library/Application Support/BBEdit/Scripts" 
> directory and 
> called from the "Script > exec_lines.pl" menu item, it does what you 
> report. It prints to 'Unix Script Output.log'.
>
> But if placed in the "~/Library/Application Support/BBEdit/Text Filters" 
> and 
> called from the "Text > Apply Filter > exec_lines.pl" menu item, it 
> behaves as you expect. It prints to the document.
>
> HTH
>
> Jean Jourdain
>
>

-- 
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/129f767e-3d99-4938-a149-9aba982860bdn%40googlegroups.com.

Reply via email to