Deutsch English Français Italiano |
<t65ebi$f8o$1@shakotay.alphanet.ch> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!aioe.org!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail From: Marc SCHAEFER <schaefer@alphanet.ch> 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: <t65ebi$f8o$1@shakotay.alphanet.ch> References: <t5orgk$oqk$1@dont-email.me> <t62o37$ead$1@shakotay.alphanet.ch> <t64l64$p4t$1@rasp.pasdenom.info> <t64seh$trg$1@shakotay.alphanet.ch> <t652iq$p67$1@rasp.pasdenom.info> <t65508$ur6$1@rasp.pasdenom.info> <t6562v$95b$1@shakotay.alphanet.ch> <t6581c$4ad$3@rasp.pasdenom.info> <t65869$nvm$1@dont-email.me> <t6589q$4ad$5@rasp.pasdenom.info> <t658m4$lci$1@shakotay.alphanet.ch> <t658tq$8tj$1@rasp.pasdenom.info> <t6597v$mr2$1@shakotay.alphanet.ch> <t659tg$bnq$1@rasp.pasdenom.info> 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' <yamo@beurdin.invalid> wrote: > * il faudrait apparemment que ce soit fait avec diff -u pour être > utilisé en patch. > <https://www.howtogeek.com/415442/how-to-apply-a-patch-to-a-file-and-create-patches-in-linux/> 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