This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: sed -i causes +S+H
- From: Edward Deitz <endeitz at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 2 Aug 2004 09:52:10 -0700 (PDT)
- Subject: 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/