mirror of
https://github.com/mi57730/a2d.git
synced 2024-12-11 08:52:59 +00:00
14 lines
157 B
Perl
14 lines
157 B
Perl
|
#!/usr/bin/env perl
|
||
|
|
||
|
use strict;
|
||
|
use warnings;
|
||
|
|
||
|
|
||
|
while (<STDIN>) {
|
||
|
chomp;
|
||
|
next unless m/px\(/i;
|
||
|
s/[^01]//g;
|
||
|
tr/01/ #/;
|
||
|
print $_, "\n";
|
||
|
}
|