<div dir="ltr">Imagine bash friends with an option for more structure than arbitrarily formatted text. I would occasionally like an option to emit json from many commands in order to avoid parsing. As a poor example:<div><br><div> tree -Jp -L 3 | jq -r '.. | objects | select( .type? == "file" ) | .name | select( test( "[.]ini$" ))'<br></div><div><br></div><div>is kinda-sorta-almost equivalent to</div><div><br></div><div> find -maxdepth 3 -type f -name \*.ini<br></div><div><br></div><div>Brian</div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 10, 2022 at 11:06 PM James DeWitt <<a href="mailto:dangerjim@gmail.com">dangerjim@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Haha! Maybe ask Matt for confirmation since he works for MS? :-)</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 10, 2022, 11:34 PM Bob Proulx <<a href="mailto:bob@proulx.com" target="_blank">bob@proulx.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I am sending this out to the list and especially for Brian. :-)<br>
<br>
<a href="https://www.theregister.com/2022/05/10/jeffrey_snover_said_microsoft_demoted" rel="noreferrer noreferrer" target="_blank">https://www.theregister.com/2022/05/10/jeffrey_snover_said_microsoft_demoted</a><br>
Jeffrey Snover claims Microsoft demoted him for inventing PowerShell<br>
<br>
Bob<br>
</blockquote></div>
</blockquote></div>