Path: ...!news.mixmin.net!aioe.org!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail From: Marc SCHAEFER Newsgroups: fr.comp.usenet.serveurs Subject: Re: Champ cancel-lock multiligne Date: Thu, 19 May 2022 12:48:50 -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: Thu, 19 May 2022 12:48:50 -0000 (UTC) Injection-Info: shakotay.alphanet.ch; posting-account="schaefer"; logging-data="15640"; mail-complaints-to="usenet@alphanet.ch" User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-20-amd64 (x86_64)) Cancel-Lock: sha256:Nt9VDL1aHYl2ItdrcSZJgzvpzGPiJz0yUu+VP3A4lp4= Bytes: 1865 Lines: 9 yamo' wrote: > * il faudrait apparemment que ce soit fait avec diff -u pour être > utilisé en patch. > le -u c'est pour ajouter du contexte, tu aurais aussi vu la ligne qui ne changeait pas (et qui manquait); le contexte permet de patcher plus facilement quand les fichiers à patcher diffèrent de l'original. pour faire de jolis patches, j'utilise en général diff -uP