Re: strange behaviour: sed follows symlink when reading but not when writing on -i and without --follow-symlinks

Christoph Anton Mitterer <[email protected]>
Newsgroups gmane.comp.gnu.utils.bugs
Message-ID <[email protected]>
On Wed, 2012-06-27 at 16:45 -0400, John Cowan wrote:
> Because it's the kernel rather than sed that does the following in the
> read case.
uhm... well you could check first, whether the file is a symlink... but
I guess you don't wanna do that for performance reasons?


Anyway,... wouldn't it be more reasonable to have the --follow-symlinks
as default and add a --no-follow-symlinks?


Cheers,
Chris.
smime.p7s (application/x-pkcs7-signature, 5.9 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.