From dbe8796e044611c3d0f0f83b2f2e152e339acd48 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Sun, 22 Feb 2015 02:20:06 +0100 Subject: [PATCH] digraphs: include first line of rfc Do not eat SP entry while skipping headers. --- tools/mkdigraphs-rfc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/mkdigraphs-rfc b/tools/mkdigraphs-rfc index d33503d..007e7b0 100755 --- a/tools/mkdigraphs-rfc +++ b/tools/mkdigraphs-rfc @@ -56,8 +56,9 @@ my %replace = ( do { $_ = readline; defined or die "Premature input end"; -} until /^\s\S/; +} until s/^\s(?=\S)//; +chomp; my @line = $_; # add first line (already read, assume it's ok) # read the rest of the character table -- 2.30.0