sed -i causes +S+H
Edward Deitz
endeitz@yahoo.com
Mon Aug 2 16:52:00 GMT 2004
On May 11 07:55, fergus@bonhard.uklinux.net wrote:
>> Just at the moment
>>
>> sed -i 's/../../g' file1
>>
>> causes the edited file 'file1' to possess
attributes not just +A as one
>> might expect but also +S +H.
>I found the cause and checked in a fix.
>Thanks for the report,
>Corinna
Has the fix made it into the release version? I am
still getting the attribute change:
ndeeds@hal9000 ~
$ echo "hello world" > temp
ndeeds@hal9000 ~
$ attrib temp
A C:\cygwin\home\ndeeds\temp
ndeeds@hal9000 ~
$ sed -i s/hello/hell/ temp
ndeeds@hal9000 ~
$ attrib temp
A SH C:\cygwin\home\ndeeds\temp
ndeeds@hal9000 ~
$ sed --version
GNU sed version 4.0.9
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list