Template:Baum: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
No edit summary |
No edit summary |
||
Line 42: | Line 42: | ||
sed -i '1d' Baum.csv | sed -i '1d' Baum.csv | ||
sed -i -e ':a;N;$!ba;s/\n//g' Baum.csv | sed -i -e ':a;N;$!ba;s/\n//g' Baum.csv | ||
sed -i -e 's/↵/\n/g' Baum.csv | |||
echo | |||
</syntaxhighlight> | </syntaxhighlight> | ||
[[category:template]] | [[category:template]] | ||
</noinclude> | </noinclude> |
Revision as of 17:25, 7 July 2022
This template is supposed to support the display of the XML tree.
Substitution:
{ | → | ( |
} | → | ) |
# | → | + |
| | → | ! |
This template defines the table "Baum". View table.
Abruf der Tabelle als CSV:
View CSV
Prepare this table with a script like
sed -i.bak -e 's/(/{/g' Baum.csv sed -i -e 's/)/}/g' Baum.csv sed -i -e 's/+/#/g' Baum.csv sed -i -e 's/!/|/g' Baum.csv sed -i '1d' Baum.csv sed -i -e ':a;N;$!ba;s/\n//g' Baum.csv sed -i -e 's/↵/\n/g' Baum.csv echo