diff options
Diffstat (limited to 'examples/ed-backref-delete')
-rw-r--r-- | examples/ed-backref-delete | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/ed-backref-delete b/examples/ed-backref-delete new file mode 100644 index 0000000..0d7672a --- /dev/null +++ b/examples/ed-backref-delete @@ -0,0 +1,6 @@ +#!/bin/sh +./xmlstarlet ed \ + -s /xml/table/rec -t elem -n new-field -v new-value \ + -d '$prev' \ + -i '$prev' -t attr -n new-attr -v new-attr-value \ + xml/table.xml |