diff options
Diffstat (limited to 'examples/update-elem1')
-rw-r--r-- | examples/update-elem1 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/update-elem1 b/examples/update-elem1 new file mode 100644 index 0000000..b9bf2bb --- /dev/null +++ b/examples/update-elem1 @@ -0,0 +1,3 @@ +#!/bin/sh +# Update value of an element +./xmlstarlet ed -u '/xml/table/rec[@id=1]/numField' -v 0 xml/tab-obj.xml |