Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20040802165210.42119.qmail@web14303.mail.yahoo.com> Date: Mon, 2 Aug 2004 09:52:10 -0700 (PDT) From: Edward Deitz Subject: Re: sed -i causes +S+H To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On May 11 07:55, fergus AT bonhard DOT uklinux DOT 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 AT hal9000 ~ $ echo "hello world" > temp ndeeds AT hal9000 ~ $ attrib temp A C:\cygwin\home\ndeeds\temp ndeeds AT hal9000 ~ $ sed -i s/hello/hell/ temp ndeeds AT hal9000 ~ $ attrib temp A SH C:\cygwin\home\ndeeds\temp ndeeds AT 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/