<p>Couldn't you just do `exec 2>&1` soon after the shebang line?</p>
<p>-Jeremy</p>
<div class="gmail_quote">On Feb 9, 2011 4:44 PM, "Platonides" <<a href="mailto:platonides@gmail.com">platonides@gmail.com</a>> wrote:<br type="attribution">> Ilmari Karonen wrote:<br>>> I remember being disappointed by the lack of stderr output in the mail I <br>
>> got after switching my Commons MIME type statistics script over to SGE, <br>>> but then I just thought "meh, I'm logging to a file anyway, I can always <br>>> just look there if something goes wrong."<br>
> <br>> SGE has a parameter to send stdout and stderr merged.<br>> <br>> _______________________________________________<br>> Toolserver-l mailing list (<a href="mailto:Toolserver-l@lists.wikimedia.org">Toolserver-l@lists.wikimedia.org</a>)<br>
> <a href="https://lists.wikimedia.org/mailman/listinfo/toolserver-l">https://lists.wikimedia.org/mailman/listinfo/toolserver-l</a><br>> Posting guidelines for this list: <a href="https://wiki.toolserver.org/view/Mailing_list_etiquette">https://wiki.toolserver.org/view/Mailing_list_etiquette</a><br>
</div>