User:Korziner/Sandbox

Testing shell2wikitable script
It would be useful to export shell output to well organized and readable wikitables.

Sample task is automatic generation of interop matrixes like this:

www.cisco.com/en/US/docs/switches/datacenter/mds9000/interoperability/matrix/Matrix1.html

The problem is not all fields in the output are sorted and fit to the relevant colomns. My sctipt uses first characters of each field to put strings to appropriate columns.

TODO: Minor issues concerning last row (with numeric) not sorted horisontally

Ref:

www.unix.com/unix-advanced-expert-users/36039-horizontal-sorting-lines-file-sed-implementation.html

www.computing.net/answers/unix/awk-print-certain-column-ranges/7524.html