diff options
Diffstat (limited to 'examples/ed-2op')
-rw-r--r-- | examples/ed-2op | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/ed-2op b/examples/ed-2op new file mode 100644 index 0000000..f5903b1 --- /dev/null +++ b/examples/ed-2op @@ -0,0 +1,2 @@ +#!/bin/sh +./xmlstarlet ed -a '/xml/table/rec[@id=1]' -t elem -n newrec -v value -d '/xml/table/rec[@id!=1]' xml/table.xml |