mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
1dc07c42bd
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1074 dbcabf3a-b0e7-0310-adc4-f8d773084564
19 lines
221 B
Perl
Executable File
19 lines
221 B
Perl
Executable File
#!/usr/bin/perl -w
|
|
|
|
while(<>) {
|
|
if(m!/\*.SYNTAX\:! || $tt) {
|
|
s/^\s+/ /;
|
|
if (/^ [A-Z]+/) {
|
|
print "\n";
|
|
s/^ //;
|
|
}
|
|
if (m!\*/!) {
|
|
$tt=0;
|
|
} else {
|
|
$tt=1;
|
|
chomp;
|
|
}
|
|
print;
|
|
}
|
|
}
|