delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/02/12:52:19

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <endeitz AT yahoo DOT com>
Subject: Re: sed -i causes +S+H
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019