OSDN Git Service

This sed patch can only be described as "duh". Stat the source file, chmod
authorEric Andersen <andersen@codepoet.org>
Wed, 21 Apr 2004 00:57:14 +0000 (00:57 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 21 Apr 2004 00:57:14 +0000 (00:57 -0000)
commitb94669543df39440415d734ad2932a83651471e9
tree65271f4cab4661aa2fa0c5d2b66554752ffeafd9
parentfaa7d863fcdfe380a173cf7a005f481066bef703
This sed patch can only be described as "duh".  Stat the source file, chmod
the _destination_ file.  (Ah hah!  That works _much_ better...)  I
implemented the behavior, I just forgot to test this corner of it.  My fault,
sorry...

No, gnu sed -i doesn't preverve ownership information.  I checked.
Permissions, yes, ownership info, no.

Rob
editors/sed.c