[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strange behaviour: sed follows symlink when reading but not when wri
From: |
Christoph Anton Mitterer |
Subject: |
Re: strange behaviour: sed follows symlink when reading but not when writing on -i and without --follow-symlinks |
Date: |
Wed, 27 Jun 2012 23:05:57 +0200 |
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
Description: S/MIME cryptographic signature