diff --git a/xpath.sh b/xpath.sh index f15032d..3cce895 100755 --- a/xpath.sh +++ b/xpath.sh @@ -22,4 +22,4 @@ # Generation xpaths.csv avec les valeurs des attributs echo "Generation xpaths.csv avec les valeurs des attributs" -find $corpusPath -name *.xml | parallel --silent xmlstarlet el -v {} 2>/dev/null \; | sort | uniq -c > $outPath/xpaths.csv +find $corpusPath -name *.xml | parallel --silent xmlstarlet el -v {} 2>/dev/null \; | LC_ALL=C sort | LC_ALL=C uniq -c > $outPath/xpaths.csv