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

John Cowan <[email protected]>
Newsgroups gmane.comp.gnu.utils.bugs
Message-ID <[email protected]>
Christoph Anton Mitterer scripsit:

> uhm... well you could check first, whether the file is a symlink... but
> I guess you don't wanna do that for performance reasons?

It's normal to let the kernel follow symlinks.  The exceptions arise when
you are doing something unusual like -i.

-- 
John Cowan   [email protected]    http://ccil.org/~cowan
You cannot enter here.  Go back to the abyss prepared for you!  Go back!
Fall into the nothingness that awaits you and your Master.  Go! --Gandalf
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.