Changeset 1171 for trunk/tools
- Timestamp:
- Jan 30, 2014, 11:26:02 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/shorten-filenames.pl
r1164 r1171 17 17 my $s = uc $e; 18 18 $s =~ y/-_//d; 19 my ($f, $x) = $s =~ /^([0-9A-Z]+)(\.[0-9A-Z] +)?$/ or die "$l: illegal filename\n";19 my ($f, $x) = $s =~ /^([0-9A-Z]+)(\.[0-9A-Z]{1,3})?$/ or die "$l: illegal filename\n"; 20 20 $f = substr($f, 0, $n); 21 21 my $c = 1;
Note: See TracChangeset
for help on using the changeset viewer.