<div class="gmail_quote">On Thu, Sep 3, 2009 at 9:47 PM, Peter Bloomfield <span dir="ltr">&lt;<a href="mailto:peterbloomfield@bellsouth.net">peterbloomfield@bellsouth.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On 09/02/2009 10:07 AM, Warren Togami wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
On 09/02/2009 11:39 AM, Jerry James wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
On Wed, Sep 2, 2009 at 9:35 AM, Warren Togami&lt;wtogami redhat com&gt;  wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
What is the correct behavior?  Is this a bug that it changed?<br>
</blockquote>
<br>
Read up on the --follow-symlinks option to sed.<br>
</blockquote>
<br>
This is a new option it seems, meaning I can&#39;t rely on sed -i at all anymore. I&#39;m rather displeased that a core utility fundamentally changed its own behavior.<br>
<br>
Warren<br>
</blockquote>
<br></div>
Apparently [1] upstream sed always broke symlinks, and &quot;Red Hat made a patch&quot; to follow them instead.  Fedora packages from some point up to sed-4.1.5-12.fc11 seem to have used it.  So the default behavior in Fedora sed is now consistent with upstream, instead of with the prior patched version.  That&#39;s inconvenient if you&#39;re accustomed to the &quot;Red Hat&quot; version, but better for interoperability!<br>

<br>
Peter<br>
<br>
[1] <a href="http://www.nabble.com/Re:-sed:-Patch-to-follow-symlinks-and--c-option-td7471749.html" target="_blank">http://www.nabble.com/Re:-sed:-Patch-to-follow-symlinks-and--c-option-td7471749.html</a><br>
<br></blockquote><div>In fact the comment in this link is<br>....<br> I want sed -i and perl -i to behave as similarly as possible.  Hence, 
<br>the patch is rejected as is.  --copy is rejected for the same reason.<br>.....<br>as i have already commented out previously.<br><br>Regards<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
--<br>
fedora-devel-list mailing list<br>
<a href="mailto:fedora-devel-list@redhat.com">fedora-devel-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/fedora-devel-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-devel-list</a><br></blockquote></div><br>