Download this file
5 lines (4 with data), 183 Bytes
#!/bin/sh
# make sure -N after other option is allowed
./xmlstarlet sel -T -N n=n -t -v /n:x xml/foo.xml 2>&1 >/dev/null
./xmlstarlet ed -P -N n=n -d /n:x xml/foo.xml 2>&1 >/dev/null
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.