File: ed-nop

package info (click to toggle)
xmlstarlet 1.6.1-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,484 kB
  • sloc: sh: 4,735; ansic: 4,183; xml: 1,936; makefile: 66; awk: 43
file content (4 lines) | stat: -rwxr-xr-x 152 bytes parent folder | download | duplicates (7)
1
2
3
4
#!/bin/sh
# libxml2 returns a NULL nodeset instead of an empty nodeset for this
# xpath expression
./xmlstarlet ed -S -N n=nn -d /n:doc/foo xml/foo.xml