projects
/
eprints3-migration.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e19311
)
eprints-dev: /home/dpavlin/mtoolkit/fix.sh [commit]
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 19 Oct 2010 17:09:10 +0000
(19:09 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 19 Oct 2010 17:09:10 +0000
(19:09 +0200)
mtoolkit/fix.sh
patch
|
blob
|
history
diff --git
a/mtoolkit/fix.sh
b/mtoolkit/fix.sh
index
eab679a
..
ecd884b
100755
(executable)
--- a/
mtoolkit/fix.sh
+++ b/
mtoolkit/fix.sh
@@
-1,7
+1,7
@@
#!/bin/sh
mv /tmp/log /tmp/log.last
-./utf8-fix.pl orig/eprints.xml 2>/tmp/log | iconv -f utf8 -t utf8 -c > ~/eprints2-fixed.xml
+./utf8-fix.pl orig/eprints.xml 2>/tmp/log |
../unaccent-file.pl '"file://[^"]+"' |
iconv -f utf8 -t utf8 -c > ~/eprints2-fixed.xml
diff -urw /tmp/log.last /tmp/last | diffstat
vi -o /tmp/log utf8-fix.pl