summaryrefslogtreecommitdiff
path: root/examples/elem-depth
diff options
context:
space:
mode:
Diffstat (limited to 'examples/elem-depth')
-rw-r--r--examples/elem-depth3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/elem-depth b/examples/elem-depth
new file mode 100644
index 0000000..8488e98
--- /dev/null
+++ b/examples/elem-depth
@@ -0,0 +1,3 @@
+#!/bin/sh
+# display unique elements up to depth 2
+./xmlstarlet el -d2 ./xml/tab-obj.xml