eprints-dev: /home/dpavlin/mtoolkit/fix.sh [commit]
authorDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 19 Oct 2010 17:09:10 +0000 (19:09 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 19 Oct 2010 17:09:10 +0000 (19:09 +0200)
mtoolkit/fix.sh

index eab679a..ecd884b 100755 (executable)
@@ -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