1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00
irssi/findsyntax.pl
Timo Sirainen e23760fb25 Fixed to work with multiline syntaxes (by lite)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@766 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-17 23:45:00 +00:00

15 lines
150 B
Perl
Executable File

#!/usr/bin/perl -w
while(<>) {
if(m!/\*.SYNTAX\:! || $tt) {
s!^\s+! !;
if (m#\*/#) {
$tt=0;
} else {
$tt=1;
chomp;
}
print;
}
}