277
edits
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
|-<br> | |-<br> | ||
|<br> | |<br> | ||
iconv -f UTF-16 -t UTF-8 32012R0231.txt | grep -3 "<seg>E " | sed -n -re '/<tuv/ { N; s/<tuv lang\=\"(..)-..\">.*\n<seg>(.*)<\/seg>/\L\1\E => \2/p }' | sed -e 's/[,;.: ]$//g' | sed -n -re 's/^(.*)([EЕΕ])([ ]*)([0-9]+)([ ]*)([a-h])?([ ]+)([\(ivx\)]*)(.*)\r$/\1\2\4\6(\8, \9/p' | sed -re 's/\(([\(\,])/\1/' | sed -re 's/en => (.*)$/\n\0/g' | sed -re 's/ / /g' | <pre>iconv -f UTF-16 -t UTF-8 32012R0231.txt | grep -3 "<seg>E " | sed -n -re '/<tuv/ { N; s/<tuv lang\=\"(..)-..\">.*\n<seg>(.*)<\/seg>/\L\1\E => \2/p }' | \ | ||
sed -e 's/[,;.: ]$//g' | sed -n -re 's/^(.*)([EЕΕ])([ ]*)([0-9]+)([ ]*)([a-h])?([ ]+)([\(ivx\)]*)(.*)\r$/\1\2\4\6(\8, \9/p' | sed -re 's/\(([\(\,])/\1/' | \ | |||
sed -re 's/en => (.*)$/\n\0/g' | sed -re 's/ / /g'</pre> | |||
|} | |} | ||
bla | bla |
edits