Skip to content

Commit

Permalink
duplicates1.pl new version of duplicates.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef Urban committed Mar 15, 2011
1 parent d4d4af1 commit aa687aa
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions duplicates1.pl
@@ -0,0 +1,15 @@
#!/usr/bin/perl

%h=();
$_=<>;
chop;
m/(.*):(.*)/;
($k,$l)=($1,$2);
@aa=split(/\ +/,$l);
@h{@aa} = ();
my @bb= ();
foreach my $v (keys %h) { push(@bb, "mml/$v"); }
print "$k: ";
print join(" ", keys %h);
print "\n";
# print "\t\@touch $k\n";

0 comments on commit aa687aa

Please sign in to comment.