I think the -n flag is critical on the grep command for this to work.

grep -n win_template *.yml | bbresults -p grep

[fletcher]


> On Mar 29, 2021, at 8:34 AM, Daniel Palmer <dbpa...@emory.edu> wrote:
> 
> I am working on adding an Ansible-lint script to bbedit for my coding.  I 
> seem to be having an issue with bbresults not showing the results.  
> Specifically when I run a command and pipe it into bbresults, BBEdit becomes 
> the main focus but no new windows are opened.  
> 
> I have backed my test down to a simple "grep win_template *.yml | bbresults 
> -p grep" as described in the man page.
> 
> If I disassemble the command:
> 
> command:
>      grep win_template *.yml
> output:
> 
> Tools_Patch_Prep_8.57_win.yml:      win_template:
> Tools_Patch_Prep_8.57_win.yml:      win_template:
> Tools_Patch_Prep_8.58_win.yml:      win_template:
> Tools_Patch_Prep_8.58_win.yml:      win_template:
> dpk_1.yml:      win_template:
> dpk_1.yml:      win_template:
> 
> then appending | bbresults -p grep ....  BBEdit gets focus but no new window 
> and no output.  
> 
> Am I missing a security setting?  Or am I missing something else?
> 
> Thanks,
> 
> dp
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a feature 
> request or need technical support, please email "supp...@barebones.com" 
> 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 bbedit+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/bbedit/efed08a8-80d6-4083-915f-c8666ae2e261n%40googlegroups.com.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" 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 bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/FB6C06F8-D3F1-45F2-BAD4-74EAEABDC464%40cumuli.com.

Reply via email to