cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/2009/05/30/20:45:18.1

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Rugxulo <rugxulo AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Using rename() with files still opened.
Date: Sat, 30 May 2009 17:44:53 -0700 (PDT)
Organization: http://groups.google.com
Lines: 16
Message-ID: <023faa15-c3f9-46ac-b0f4-e636aa091e9d@g19g2000vbi.googlegroups.com>
References: <4cc1f101-88b2-4cda-a7b5-b01eaa9a77bf AT c9g2000yqm DOT googlegroups DOT com>
<200905302109 DOT n4UL9lSG029239 AT envy DOT delorie DOT com> <16c0e74a-7e29-4444-912a-88ed19adb505 AT w40g2000yqd DOT googlegroups DOT com>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1243730693 23075 127.0.0.1 (31 May 2009 00:44:53 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Sun, 31 May 2009 00:44:53 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: g19g2000vbi.googlegroups.com; posting-host=65.13.115.246;
posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
X-HTTP-UserAgent: Opera/9.64 (Windows NT 6.0; U; en) Presto/2.1.1,gzip(gfe),gzip(gfe)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

On May 30, 4:19=A0pm, Juan Manuel Guerrero <juan DOT guerr DOT  DOT  DOT  AT gmx DOT de> wrote:
> On 30 Mai, 23:09, DJ Delorie <d DOT  DOT  DOT  AT delorie DOT com> wrote:
>
> > This is the way DOS works - files and their names are tightly linked;
> > whereas on Linux files and their names are only loosely linked.
>
> Ok, in that case I will fix the issue in sed.

I assume this is a new problem (maybe due to gnulib??) since "-i"
works fine in 4.1.5. I use it fairly often (easier than manually
renaming / deleting) although it's GNU sed 4.x specific, so it's not
ideal for portability (unless you assume it's present, ahem, yet
NetBSD [and others??] still uses a wimpy other one lacking "\<" among
other things).

- Raw text -


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