<div class="gmail_quote">On Thu, Sep 3, 2009 at 9:47 PM, Peter Bloomfield <span dir="ltr"><<a href="mailto:peterbloomfield@bellsouth.net">peterbloomfield@bellsouth.net</a>></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<wtogami redhat com>  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't rely on sed -i at all anymore. I'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 "Red Hat made a patch" 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's inconvenient if you're accustomed to the "Red Hat" 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>