projects
/
eprints3-migration.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
added simple import script
[eprints3-migration.git]
/
unaccent-file.pl
1
#!/usr/bin/perl
2
3
use warnings;
4
use strict;
5
6
use Text::Unaccent;
7
8
my $what = shift @ARGV || '.+';
9
10
while(<>) {
11
s{($what)}{unac_string('utf8',$1)}ges;
12
print;
13
}