From 176037df62b82b909bd2e842f8444fccffa50738 Mon Sep 17 00:00:00 2001 From: wowaname Date: Tue, 9 Aug 2016 07:02:57 +0000 Subject: [PATCH] whoops, bug --- scripts/coloconv.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/coloconv.pl b/scripts/coloconv.pl index 19556b1..6ae7ecc 100755 --- a/scripts/coloconv.pl +++ b/scripts/coloconv.pl @@ -16,11 +16,14 @@ Then in WeeChat: =cut my %profs; +my $desc = 0; while (<>) { + $desc and print, next; $_ !~ /^python\.embellish\./ and print, next; s/^python\.embellish/python.colo/; $_ !~ /^python\.colo\..*(?:pre|suf)/ and print, next; + $_ eq '[desc]' and ($desc = 1), print, next; my ($prof, $k, $v) = /^python\.colo\.(.*)(pre|suf) = "(.*)"$/; $v =~ s/\x02/%b/g;