Akron | 049e526 | 2022-03-18 09:59:34 +0100 | [diff] [blame^] | 1 | #!/usr/bin/env perl |
2 | use strict; | ||||
3 | use warnings; | ||||
4 | |||||
5 | my $c = ''; | ||||
6 | foreach (<>) { | ||||
7 | $c .= $_; | ||||
8 | }; | ||||
9 | $c =~ s/^\n+//s; | ||||
10 | foreach my $c (split(/\n\n/, $c)) { | ||||
11 | $c =~ s/[\s\n\t]+//g; | ||||
12 | print $c, "\n"; | ||||
13 | }; | ||||
14 |