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