<div dir="auto">Yes, I just learned something new!</div><div dir="auto"><br></div><div dir="auto">John </div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 22, 2023 at 9:01 PM Leonard Daly </div><div dir="ltr" class="gmail_attr"><br></div><div dir="ltr" class="gmail_attr">Additional useful info:
<a href="https://unix.stackexchange.com/questions/164482/pipe-redirect-a-group-of-commands" target="_blank">https://unix.stackexchange.com/questions/164482/pipe-redirect-a-group-of-commands</a></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div>
<p>Leonard Daly<br>
</p></div><div>
<p><br>
</p>
<p><br>
</p>
<div>On 7/21/2023 10:15 PM, John Carlson
wrote:<br>
</div>
</div><div><blockquote type="cite"></blockquote></div><div><blockquote type="cite">
Linux folks:
<div dir="auto"><br>
</div>
<div dir="auto">Does anyone have a bash function (not a separate
script) to check the exit status of the passed in pipeline or
passed in exit status, print out the passed in error message,
and exit the script if the exit status indicates failure?</div>
<div dir="auto"><br>
</div>
<div dir="auto">Thanks!</div>
<div dir="auto"><br>
</div>
<div dir="auto">Should be fairly easy to write?</div>
<div dir="auto"><br>
</div>
<div dir="auto">John </div>
<br>
<fieldset></fieldset>
</blockquote></div><div><blockquote type="cite"><pre style="font-family:monospace">_______________________________________________
x3d-public mailing list
<a href="mailto:x3d-public@web3d.org" target="_blank" style="font-family:monospace">x3d-public@web3d.org</a>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" target="_blank" style="font-family:monospace">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a>
</pre></blockquote></div><div><blockquote type="cite">
</blockquote>
<div>-- <br>
<b>Leonard Daly</b><br>
3D Systems Engineering<br>
President, Daly Realism - <i>Creating the Future</i><br>
</div>
</div>
_______________________________________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
</blockquote></div></div>