- Timestamp:
- Jan 25, 2013 6:26:26 PM (12 years ago)
- Branches:
- master, trunk
- Children:
- 2526624
- Parents:
- e4e7407
- Location:
- misc
- Files:
-
- 2 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)) { -
misc/findnonsjis.pl
r89fbc5d r0e3de64 30 30 print STDERR "checking '$target'\n"; 31 31 opendir(my $dir, $target) || return $target; 32 my @entries = sort readdir($dir);32 my @entries = sort grep { !m/^(\.|\.\.)$/g } readdir($dir); 33 33 closedir($dir); 34 34 35 35 my @dirs; 36 36 while (my $entry = shift @entries) { 37 next if ($entry =~ /^\.+$/);38 37 if (match($entry)) { 39 38 print "'$target/$entry' contains non Shift_JIS character\n";
Note: See TracChangeset
for help on using the changeset viewer.