From: Hugo Villeneuve Date: Thu, 18 Nov 2021 03:10:46 +0000 (-0500) Subject: Correction problème avec symbole newline X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=3f350f1f0777d7725084436d96e06863c416f416;p=musique%2Fhvguitartex.git Correction problème avec symbole newline --- diff --git a/gtx2tex.pl b/gtx2tex.pl index c414dcd..668cdf5 100644 --- a/gtx2tex.pl +++ b/gtx2tex.pl @@ -685,6 +685,7 @@ sub includes{ while ( ){ if ( /{include:/ ) { #read only lines with an include directive + chomp; # avoid \n on last field s/({.*:)(.+)(})/\2/; print TMP "#$_\n#\n";