Deutsch   English   Français   Italiano  
<t12p5h$ka0$1@shakotay.alphanet.ch>

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

Path: ...!feeds.phibee-telecom.net!2.eu.feeder.erje.net!feeder.erje.net!news.alphanet.ch!alphanet.ch!.POSTED.localhost!not-for-mail
From: Marc SCHAEFER <schaefer@alphanet.ch>
Newsgroups: fr.comp.usenet.serveurs
Subject: Re: Extension au protocole NNTP
Date: Fri, 18 Mar 2022 20:13:37 -0000 (UTC)
Organization: Posted through ALPHANET
Message-ID: <t12p5h$ka0$1@shakotay.alphanet.ch>
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>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 18 Mar 2022 20:13:37 -0000 (UTC)
Injection-Info: shakotay.alphanet.ch; posting-host="localhost:127.0.0.1";
	logging-data="20800"; mail-complaints-to="usenet@alphanet.ch"
User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-18-amd64 (x86_64))
Cancel-Lock: sha256:04amon4L5Bx5FPzDH1NlG+lFCbhXQtTlenf4lgJ39gc=
Bytes: 1620
Lines: 11

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