<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Dec 22, 2014 at 4:52 PM, Justin Dearing <span dir="ltr"><<a href="mailto:zippy1981@gmail.com" target="_blank">zippy1981@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On Thu, Dec 18, 2014 at 11:04 PM, Dmitry V. Levin <span dir="ltr"><<a href="mailto:ldv@altlinux.org" target="_blank">ldv@altlinux.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><br>
</span>Unlike -42, which is treated as unsigned int (i.e. 2^32-42) by the kernel,<br>
-1 is never a valid file descriptor.<br></blockquote></span><div>Ok that makes sense. So how about a command line switch that specifically intercepts write (-1, msg)  and print out the entire contents of msg, regardless of the formatting of the rest of the output?</div><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br></blockquote></span></div></div></div></blockquote><div><br></div><div>Addendum:</div><div><br></div><div>Could said swich would always report calls to write(-1, msg)  even if the other switches to strace would have it not report write() calls.</div><div><br></div><div>Thanks,</div><div>Justin</div></div></div></div>