mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-23 12:53:09 +02:00
17 lines
368 B
Raku
Executable File
17 lines
368 B
Raku
Executable File
#!/usr/bin/perl
|
|
while (<>) {
|
|
@f = split(/\s+/);
|
|
$ref = shift @f;
|
|
for ($i = 0; $i != @f; $i++) {
|
|
next unless $f[$i] eq "FIC" || $f[$i] eq "MISSING" ||
|
|
$f[$i] eq "DIGI-KEY";
|
|
splice(@f, $i, 2);
|
|
$i--;
|
|
}
|
|
next if @f < 3;
|
|
push(@{ $multi{join(" ", @f)} }, $ref);
|
|
}
|
|
for (sort keys %multi) {
|
|
print "$_ -- ", join(" ", @{ $multi{$_} }), "\n";
|
|
}
|