[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: |
John Cowan |
Subject: |
Re: strange behaviour: sed follows symlink when reading but not when writing on -i and without --follow-symlinks |
Date: |
Wed, 27 Jun 2012 16:45:26 -0400 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Christoph Anton Mitterer scripsit:
> Now obviously there is --follow-symlinks... in which case, the
> sylink is not removed but correctly
> But even if one argues, that the above behaviour is desired (which
> is a strange default IMHO), it's questionable why the symlink is
> followed (without --follow-symlinks) for reading, but not for
> writing.
Because it's the kernel rather than sed that does the following in the
read case.
--
John Cowan <address@hidden> http://www.ccil.org/~cowan
Sir, I quite agree with you, but what are we two against so many?
--George Bernard Shaw,
to a man booing at the opening of _Arms and the Man_