Deutsch   English   Français   Italiano  
<t138lh$cab$1@news.gegeweb.eu>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!1.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!fdn.fr!usenet-fr.net!news.gegeweb.eu!gegeweb.org!.POSTED.2001:861:5e50:f690:64b6:aad4:9a2f:7766!not-for-mail
From: tth <tth@none.invalid>
Newsgroups: fr.comp.usenet.serveurs
Subject: Re: Extension au protocole NNTP
Date: Sat, 19 Mar 2022 01:38:09 +0100
Organization: Gegeweb News Server
Message-ID: <t138lh$cab$1@news.gegeweb.eu>
References: <t0snkc$b58$1@shakotay.alphanet.ch>
 <t0upik$vpm$1@rasp.pasdenom.info> <t12k0p$flm4$1@news.trigofacile.com>
 <t12l29$318$1@shakotay.alphanet.ch> <t12nf9$fng5$1@news.trigofacile.com>
 <t12nve$eof$1@shakotay.alphanet.ch> <t12osv$foc4$1@news.trigofacile.com>
 <t12p5h$ka0$1@shakotay.alphanet.ch>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 19 Mar 2022 00:38:09 -0000 (UTC)
Injection-Info: news.gegeweb.eu; posting-account="tontonth@usenet.local"; posting-host="2001:861:5e50:f690:64b6:aad4:9a2f:7766";
	logging-data="12619"; mail-complaints-to="abuse@gegeweb.eu"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
 Thunderbird/91.6.2
Cancel-Lock: sha256:AuGSHeJI1CeW7MkAlNKKCSJAjzypcVfQ866x0b/80bA=
In-Reply-To: <t12p5h$ka0$1@shakotay.alphanet.ch>
Content-Language: en-US
Bytes: 2125
Lines: 21

On 3/18/22 21:13, Marc SCHAEFER wrote:
> Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote:
>> Un rename(2) n'est même pas nécessaire ; tu pourrais faire un "sed -i"
>> ajoutant l'en-tête juste après la fin des en-têtes (ou à un autre lieu).
> 
> Dans ce cas il y a un risque que celui qui a déjà ouvert le fichier
> voie des choses bizarres se produire. C'est peu probable, mais c'est
> possible.
> 
> sed < 42 > 42.NEW
> 
> # posix-atomic
> mv -f 42.NEW 42

    Je confirme d'expérience : c'est LA façon de bien faire.

tTh

-- 
+-------------------------------------------------------------------+
|                      sphinx of black quartz, judge my vow.        |
+-------------------------------------------------------------------+