|
From: | Paolo Bonzini |
Subject: | Re: sed: Patch to follow symlinks and -c option |
Date: | Tue, 21 Nov 2006 15:04:39 +0100 |
User-agent: | Thunderbird 1.5.0.8 (Macintosh/20061025) |
Sorry for the late reply.
Red Hat made a patch to address this issue and also introduced a new -c (--copy) option which creates a copy. This patch is alsointeresting for us at Novell/Suse. I do not know if this has been submitted to you yet. I ported the patch to the current CVS version of sed.Please let me know, if you plan to include this feature.
I want sed -i and perl -i to behave as similarly as possible. Hence, the patch is rejected as is. --copy is rejected for the same reason.
However, I may accept a patch adding a --follow-symlinks options to follow symlinks (without any short option). The patch should include a configure test for lstat and readlink, omitting the feature entirely (*not* turning it into a no-op) if either is missing.
Thanks in advance, Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |