Changeset 0e3de64 in lab.git for misc/findnonsjis.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/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.