Changeset 0e3de64 in lab.git for misc/findcombinable.pl
- Timestamp:
- Jan 25, 2013 6:26:26 PM (12 years ago)
- Branches:
- master, trunk
- Children:
- 2526624
- Parents:
- e4e7407
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
misc/findcombinable.pl
re4e7407 r0e3de64 33 33 print STDERR "checking '$target'\n"; 34 34 opendir(my $dir, $target) || return $target; 35 my @entries = sort readdir($dir);35 my @entries = sort grep { !m/^(\.|\.\.)$/g } readdir($dir); 36 36 closedir($dir); 37 37 38 38 my @dirs; 39 39 while (my $entry = shift @entries) { 40 next if ($entry =~ /^\.+$/);41 40 $entry = $utf8->decode($entry); 42 41 if (match($entry)) {
Note: See TracChangeset
for help on using the changeset viewer.