From Open Food Facts wiki
|
|
Line 1: |
Line 1: |
| | bla |
| | |
| {| class="mw-collapsible mw-collapsed" style="text-align:left;"<br> | | {| class="mw-collapsible mw-collapsed" style="text-align:left;"<br> |
| ! '''Header'''<br> | | ! '''Header'''<br> |
| |-<br> | | |-<br> |
| |<br> | | |<br> |
| Line1: A long line of text that is used to test the position of the [Collapse] link in my document.<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/[,;. |
| Line2: A long line of text that is used to test the position of the [Collapse] link in my document.<br>
| | : ]$//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\ |
| Line3: A long line of text that is used to test the position of the [Collapse] link in my document.<br>
| | 0/g' | sed -re 's/ / /g' |
| Line4: A long line of text that is used to test the position of the [Collapse] link in my document.<br>
| |
| Line5: A long line of text that is used to test the position of the [Collapse] link in my document.<br>
| |
| |} | | |} |
| | |
| | bla |
Revision as of 09:23, 3 November 2014
bla
ExpandHeader
|
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'
|
bla