> If I use sed -i to attempt to operate on a symlink in place, sed breaks
> the symlink and creates a new file.  I believe it should instead follow
the
> symlink and edit the target file in place.  After all, the man page
> says:

No, this is intended behavior.

perl -i will work the same; also, not breaking symlinks would be easy (on
systems that have readlink...) but it would be much harder to not break
*hard* links.

Paolo



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to