<br><br><div class="gmail_quote">On Fri, Aug 14, 2009 at 12:11 AM, Andrew Gaylard <span dir="ltr"><<a href="mailto:ag@computer.org">ag@computer.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
On Thu, Aug 13, 2009 at 11:16 PM, Bert Freudenberg<<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>> wrote:<br>
><br>
> We could rename the Balloon3D DPRINTF to DPRINTF3D and the regular dprintf<br>
> to DPRINTF. This seems to get the job done:<br>
><br>
> svn update ...<br>
> cd platforms<br>
> grep -rl DPRINTF . \<br>
> | egrep '(B3D|X11)' \<br>
> | grep -v '/\.svn/' \<br>
> | tr '\n' '\000' \<br>
> | xargs -0 sed -i '' s/DPRINTF/DPRINTF3D/g<br>
> grep -rl dprintf . \<br>
> | grep -v '/\.svn/' \<br>
> | tr '\n' '\000' \<br>
> | xargs -0 sed -i '' s/dprintf/DPRINTF/g<br>
> svn diff | less<br>
><br>
> This changes all platforms, but should not be a problem right? Anyone<br>
> opposed?<br>
<br>
</div>Looks good to me. It's a good idea to have macros<br>
in upper-case anyway. Thanks for sorting this out.<br>
<font color="#888888"><br>
- Andrew<br>
</font><br>
PS: is there any particular reason why we have filenames with<br>
spaces in them? It makes find/xargs painful to use (as in the<br>
'tr' above).<br>
</blockquote></div><br><div>I think it is because on Mac OS</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Smalltalk getSystemAttribute: 1001</div><div>answers</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>'Mac OS'</div>
<div>and fixing this would cause too much pain (I think).</div>