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 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: References: 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 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