File: table2

package info (click to toggle)
xmlstarlet 1.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 2,460 kB
  • ctags: 664
  • sloc: sh: 4,735; ansic: 4,183; xml: 1,936; makefile: 64; awk: 43
file content (3 lines) | stat: -rwxr-xr-x 160 bytes parent folder | download | duplicates (7)
1
2
3
#!/bin/sh
# Generate plain text table from XML document
./xmlstarlet sel -T -t -m /xml/table/rec -v "concat(@id,'|',numField,'|',stringField)" -n xml/table.xml