This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sed -i causes +S+H


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]