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